This section will be an introduction to harnessing the power of the command line. It assumes you are using Ubuntu Linux, more specifically the desktop live CD. It should look pretty similar in any other Linux that is using the BASH shell (almost all do).
Note: in this section, the red text shows what you type in, and anything else represents what you see on the screen, though the colors might not be the same. Here is an example listing files (including hidden files):
In the above example, the part before the dollar sign is the command prompt, where the shell is telling you it is ready to accept your commands. We type in ls -A, which means to list filenames in this directory (folder), and show all files except for the . and .. which mean this current directory and the parent directory, respectively.
We can get more information by asking for a long listing:
This shows permissions, user, group, and last change date for each file.
In Ubuntu, click on the Applications menu on the panel at the top of the screen, then choose Accessories and Terminal. We can abbreviate that as Applications -> Accessories -> Terminal.
A few more comments before we go on:
Printed from linux.bz (Command Line and Aliases - Linux.bz, Linux in Belize)