home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


umask

umask [nnn ]
umask [-S ] [mask ]

Display file creation mask or set file creation mask to octal value nnn . The file creation mask determines which permission bits are turned off (e.g., umask 002 produces rw-rw-r-- ). See the entry in Chapter 2 for examples.

The second form is specific to ksh93 . A symbolic mask is permissions to keep.

Option

-S

Print the current mask using symbolic notation. ksh93 only.


Previous: Reference: ulimit UNIX in a Nutshell: System V Edition Next: Reference: unalias
Reference: ulimit Book Index Reference: unalias

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System