Unix Mini Tutorial
Unix Mini Tutorial
What’s UNIX?
users tmp
bin etc backup
usern
user2 file1
user1 …… public_html
index.html
Pathnames
Creation
mkdir – make directory. Use “mkdir name” to create a new
directory in the current directory named name. Can also
create multiple directories.
cp – copy. Use “cp file1 file2” to create a new file, file2
which is a copy of file1. Can also use “cp file(s) directory”
to copy all file(s) to directory.
mv – move. Same as copy, but deletes the original file.
UNIX – More commands
You can not recover your files after you removed them!
Some tips