Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix umask command

Quick links

About umask
Syntax
Examples
Related commands
Linux / Unix main page

About umask

Get or set the file mode creation mask.

Syntax

umask [-S] [000] [mask]

-S Produce symbolic output.

The default output style is unspecified, but will be recognized on a subsequent invocation of umask on the same system as a mask operand to restore the previous file mode creation mask.

000 Any three octal digits used for permissions.

Examples

umask

Running umask alone will display the current umask environment settings.

umask 000

The above example allows any permissions. This does not actually set permissions just allows permissions to be set.

Related commands

chmod
csh
ksh
sh

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope