Commands for Viewing and Securing Files

This table describes the commands for monitoring and securing files and directories.

Table 1-1 Commands for Securing Files and Directories

Command Description Man Page

ls

Lists the files in a directory and information about the files.

ls(1)

chown

Changes the ownership of a file.

chown(1)

chgrp

Changes the group ownership of a file.

chgrp(1)

chmod

Changes permissions on a file. You can use either symbolic mode, which uses letters and symbols, or absolute mode, which uses octal numbers, to change permissions on a file.

chmod(1)