cd is a command that allows you to move between directors. (cd means change directory.) Here are some examples on how to use is:
This alone takes you back to your home directory.
This takes you to where you desktop folder is. The ~ means home directory if you want to use one command instead of
To auto complete file names you use tab.(note: it can not guess the file name if other start with similar beginnings.)
If you want to leave a note in your commands you use #. Example.
Code:
cd # This takes you back to your home directory
If you want to know whats in a file you use:
ls Lists everything in a directory not hidden if you want to see hidden files you use:
The dash signifies a option. The a option means all and it shows all the the files but not files within files.
Do you want to know how to move files here you go:
Code:
mv ~/Desktop/item ~/place\ for\ this\ item/
If you were wondering mv does mean move how mv works is you type mv the directory to get to the file and the the place you want it to go.
To look up commands:
man means manual. Then you type what command you want it to look up if there is a entry for it.
For those who want to make files you use:
This should make you a directory called the inside the directory your in.
Those of you who want to remove files and directors you use:
Code:
rm # you can use the the -r option to remove directors in linux for bsd you use -rf
rm will remove files but if you want to use the -r option. (side note: rm means remove.)
To copy file use:
Code:
cp ~/document ~/Documents# cp means copy
This will move file document to directory Documents.
That's all I can think of for know I will post later if I can think of more.
(Also if you see errors in what I have said just post what it is and I will fix it)