mkdir [options] directory
Creates a new directory.
rmdir [options] directory
Deletes the specified directory if it is already empty.
chown [options] username[:[group]] files
Transfers ownership of a file to the user with the specified username.
-R
Changes files and directories in all subdirectories
chgrp [options] groupname files
Transfers the group ownership of a given file to the group with the specified
group name. The file owner can only change group ownership if a member of both
the current and the new group.
chmod [options] mode files
Changes the access permissions.
The mode parameter has three parts: group, access, and access type.
group accepts the following characters:
u
User
g
Group
o
Others
For access, grant access with + and deny it with -.
The access type is controlled by the following options:
r
Read
w
Write
Working with the Shell
369