chmod
The chmod command is used to change the permissions on a file. Let's start our discussion of chmod with the listing of the file sort shown earlier:
$ ls -l sort
-rwxr-x--x 1 marty users 120 Jul 26 10:20 sort
Figure 21-5 shows a breakdown of the permissions on sort.
Figure 21-5. Permissions of File sort
You have very little control over the type of file defined. You do, however, have a great deal of control over the permissions of this file if it belongs to you. The chmod command is used to change the permissions on a file or directory. If you are the owner of the file, you can have a field day changing the permissions on the file.
There ...
Get HP-UX 11i System Administration Handbook and Toolkit, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.