Thursday 19 February 2009

Ubuntu Terminal

As you mess about more with Linux, it becomes clear that a knowledge of Terminal commands is needed to achieve things. Although this might seem a bit like going back to the dark ages of MS DOS, you get the feeling you are doing some “proper computing” here and getting your hands dirty a bit. If you don't enjoy this, maybe Linux is not your thing, but it seems to be a fact that if you are prepared to learn how to use it, Terminal is the gateway to unleashing the power of Linux.

With this in mind, I thought I'd jot down a few of the Terminal commands I've come across which have proved useful:

sudo: run commands as super user (if you don't use this you are locked out of editing some files)

gksudo: the “proper” version of sudo to open an application that has graphical interface, with "root" privileges.

gedit: Edit

cd: Change directory
~ = home directory
/ = root

sudo apt-get update && sudo apt-get upgrade: Update all packages.

man followed by a term: definition of term (q to quit and get back to the prompt)

No comments:

Post a Comment