bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: umask --help


From: Chris Down
Subject: Re: umask --help
Date: Tue, 8 Jul 2014 02:34:39 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Jon,

As is standard with other buitins, umask is documented at `help umask`:

    chris@gopher:~$ help umask
    umask: umask [-p] [-S] [mode]
        Display or set file mode mask.
        
        Sets the user file-creation mask to MODE.  If MODE is omitted, prints
        the current value of the mask.
        
        If MODE begins with a digit, it is interpreted as an octal number;
        otherwise it is a symbolic mode string like that accepted by chmod(1).
        
        Options:
          -p    if MODE is omitted, output in a form that may be reused as input
          -S    makes the output symbolic; otherwise an octal number is output
        
        Exit Status:
        Returns success unless MODE is invalid or an invalid option is given.

The umask builtin is also documented in `man bash`.

Attachment: pgp8soY1I0Mda.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]