What UNIX command will control the default file permissions
when files are created?
Answer Posted / aks
for this purpose we need to use umask command...
as by default every file has default permissions of 666
and any directory have the dafault ermission of 777...
syntax: $ umask [umask options]
as it works with octal method only so
1 for execute
2 for write
4 for read
example:
$ umask
using umask alone will allow u to see the default permisions..
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Which command is used to kill the last background job?
How to use grep command to list find the records of a file containing 10 different strings?
How do I use grep to find a file?
What is used to type command?
how to sort the content of the file based on numeric values
Are you in or at the office?
What is unix command?
What is difference between grep and find command in unix?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the difference between grep and grep?
Who invented grep?
Which command is used to find whether the system is 32 bit or 64 bit?
Why is it called grep?
What is the function of grep command in unix?
How do you grep recursively?