Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

umask examples

umask # shows current octal permissions mode
umask -S # human readable notation
u=rwx, g=rx, o=rx
umask 002 # set new octal permission mode
 	  ugo
# 	 0 -> read, write and execute
#    1 -> read and write
#    2 -> read and execute
#    3 -> only read
#    4 -> write and execute
#    5 -> only write
#    6 -> only execute
# 	 7 -> no permissions
umask g+r # set global rol to read
Comment

PREVIOUS NEXT
Code Example
Shell :: shell get unique lines 
Shell :: wget username and password 
Shell :: delete empty pdf page 
Shell :: conemu git bash 
Shell :: android get armeabi 
Shell :: unzip recursively linux 
Shell :: linux stress test 
Shell :: view process in linux 
Shell :: android studio tortoisegit 
Shell :: saving fonts on linux for figma 
Shell :: show git branch on terminal on mac 
Shell :: untrack lfs file 
Shell :: AWS EC2 Stress tool activate on command line 
Shell :: macos git set vscode as editor 
Shell :: pull branch from remote to new local branch 
Shell :: stern install mac 
Shell :: config php.ini for magento@ 
Shell :: github push code from one repo to another 
Shell :: zsh shell 
Shell :: tasksel uninstall package 
Shell :: run crontab on mac 
Shell :: git diff without change mode 
Shell :: download sublime merge in linux 
Shell :: trimspace in bact file 
Shell :: how to clone a branch github 
Shell :: npm install not workjing behind proxy 
Shell :: crontab is not running my shell script 
Shell :: aws ssh warning unprotected private key file 
Shell :: vcpkg install 64 bit 
Shell :: check size of folder linux 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =