Originally Posted by bripal
what exactly to I need to type in order to change the directory?
= "change directory."
A full tutorial on the directory structure is beyond the scope of LQ, but here's a short one.
In Linux, if you download a file, it normally goes into your "home" directory.
The home directory is in the path /home/[username]
When you open a terminal, you will be by default in that directory.
If the downloaded file is foo.tar.gz, the path to it will be /home/[username]/foo.tar.gz
If you do a dir or ls command AND if foo.tar.gz
is the only file in your home directory, the command list only foo.tar.gz
When you extract tar.gz files, they commonly extract into their own directory. If you do a dir
command after extracting foo.tar.gz
, it will report foo
. Foo will be the new directory.
cd foo or cd /home/[username]/foo
will take you into the new directory.
by itself will take you back to your home directory.
I strongly suggest taking a look at the about dot com site I linked in my earlier post. It is written with new Linux users very much in mind. Think of as looking at the owners manual of a new car. You may pretty much know how to drive, but, if you get a flat or need to jump the battery, you need to know where the spare tire and battery are.
(I'm not making this up--I had to get the manual to find out where Toyota hid the battery in my girlfriend's car.)