PERMISSIONS AND FILE STORAGE (UNIX)



chmod                      Set the permission on a file or a directory.
Usage: chmod [options] <who> <opcode> < permission> <filename>
Options: -R Recursively updates permisions within a directory
structure.
Who:              u user
g group
o other
a all
Opcode:          + add permission.
- remove permission.
Permission:
r read
w write
x execute
Eg:      chmod a +rwx public-file
adds permissions of read write and execute to all.
Eg:      chmod go -wx my-file
removes write and execute to group and others.
passwd                     Change the password.
df                                Displays the amount of free and used disk space.
du                               Displays the amount of disk usage.
quota                        Displays the amount of disk space used.
Options: -v Display user’s quota on all file systems.


Previous                                                                                                        Next

No comments:

Post a Comment

Copyright © EduRAR @ www.edurar.blogspot.in