Professional Documents
Culture Documents
A Small UNIX Tutorial: by CGS3063 Staff
A Small UNIX Tutorial: by CGS3063 Staff
By CGS3063 staff
What’s UNIX?
public_html
index.html
What is a Directory?
public_html
index.html
New_file_or_directory
What is directory?
tmp
bin etc users backup
usern
user2 file1
user1 …… public_html
index.html
What’s a directory?
tmp
bin etc users backup
usern
user2 file1
user1 …… public_html
index.html
Specifying Paths
tmp
bin etc users backup
usern
user2 file1
user1 …… public_html
index.html
More UNIX commands
Here’s an example
Suppose you type in ls -l and the result is
Group Other
permissions Permissions
Permissions
read=4;write= 2;execute=1
rwx r-x r--
4 + 2 + 1 4 + 0 + 1 4 + 0 + 0
7 5 4
Permissions