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
What is $0 bash?
Name the various commands that are used for the user information in unix.
What does the “echo” command do?
What is grep short for?
Name the general commands in using unix os for a beginner?
Why is it called grep?
What is grep r?
What is the general format of unix command syntax?
What is s and g in sed command?
What are awk commands?
What is the command to view process running?
What does the metacharacter mean?
How do I use grep to search for a file?
What are grep patterns?
Write a command to kill the last background job?