[ubuntu-uk] Help needed with ssh

Sean Miller sean at seanmiller.net
Fri Jul 17 13:53:26 BST 2009


On Fri, Jul 17, 2009 at 1:33 PM, John Matthews<jakewc2 at sky.com> wrote:
> the $pwd commands shows the directory, then it says if you want to
> change the directory, it tells you to use $cd /usr/then directory you

Hmmm... typing "pwd" will show the current directory.  The "$" is the
command prompt, it is not part of the command.

So, for instance you type...

pwd

and it says "/home/jakewc2"

you then type "ls"

and it says

fred
george
bob
install.txt

Now, if you want to get to the files in "george" you simply type "cd
george" and then "ls" and you find out what's in george.

To go back up again type "cd .." (.. means the level higher than you
are at present)

"ls -F | grep /" is a good command too, as it only shows the
directories and leaves out the files.

Sean



More information about the ubuntu-uk mailing list