okay so we know how to see what is in the folder we are in. Now how do we get to other folders right? Well this is sort of like windows. We would use the "cd" command

now lets say we are in the "/home" directory and there are 3 user accounts of bob, jan and steve on this computer. A simple "ls" command would show us all the directories we could go into below the one we are in.

$ ls
bob jan steve

It would look something like so. From here we could make our choice of where we want to go. Lets say we want to go into bob's directory because we are bob.

$ cd bob
$

This is what your command line would look like. you typed in cd bob then hit enter. The command prompt dose not change but you are in bob's directory now. but what if we decided this is in fact not where we wanted to be. But we forgot the name of the folders above this one. We would use the "ls" command again.
Simpley type in:

$ ls ..
bob jan steve
$

And the above is what you would get. This dose not take you out of the directory, but shows you what is in the directory above the one you are in. You could also use both the "cd" and "ls" commands.

$ cd ..
$ ls
bob jan steve
$

"cd .." would take you up one level, and "ls" of course shows us the files in the directory not hidden. Now if you wanted to just go straight to the root directory, (the equal to c:\) the "/" directory. You would use the cd command.

$ cd /
$

It is that simple. You can be 7 directories deep and zip right back to the root directory with a simple comand. A simple "ls" shows us

$ ls
Mail dev kernel tmp
devices lib opt usr
etc lost+found platform var
bin export mnt cdrom
home sbin xfn
$

Or something realy close get a good look at those directories. Those are the main directories in your root folder. You might have more or one or 2 less but most are universal in any unix/linux/bsd system.

Now lets say you want to create a directory... You simpley type in

mkdir directory name

So this would look something like the following

$ mkdir test

This would make us a directory named /test.
_________________________
My New site OpenEyes