Next / Previous / Index / TCC Help System / Publications / Site map / NM Tech homepage

Finding a file's permissions

Tech Computer Center logo

Use the ls -l command to show the permissions of a file. See `Listing file details' for a complete description of the output from ls -l.

The permissions appear at the beginning of each line of the output from ls -l command. Here is an example:

    -rwxrw-r--   1 john     1659     97 Mar 10 23:46 schedule
The first character is ``-'' for ordinary files. The next three characters give the owner's permissions; the next three show the group permissions; and the last three show the world permissions. In this example, the owner has permissions ``rwx'' (read, write, and execute); the group permissions are ``rw-'' (read and write); and the world permissions are ``r--'' (read only).
Next: Changing file permissions
See also: Controlling access to your files; Listing file details; Limiting file access to specific people
Previous: What are permissions?
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Computer Center: Help System
TCC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 1995/12/04 19:39:34 UT
URL: http://www.nmt.edu/tcc/help/unix/findperm.html
QR two-dimensional bar code