File and Directory Management
• cd Change the current directory. With no arguments "cd"
changes to the users home directory. (cd <directory path>)
• chmod Change the file permissions.
• Example: chmod 751 myfile : change the file
permissions to rwx for owner, rx for group and x for others
• Example: chmod go+r myfile : Add read permission for
the group and others (character meanings u-user, g-group, o-
other, + add permission,-remove,r read,w-write,x-execute)
• Example: chmod +s myfile - Setuid bit on the file which
allows the program to run with user or group privileges of the
setted user ID.