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 the unix command to confirm a remote host is alive or not?
what is the advaantage of each user having its own copy of the shell?
Which unix command to make a new directory?
What does the “echo” command do?
Differentiate cmp command from diff command.
What is the command to find maximum memory taking process on the server?
What does the md command do?
What is $0 bash?
What is the function of grep command in unix?
What does find command return in unix?
What are awk commands?
What is rmdir command?
Describe the zip/unzip command using gzip.
What is ctrl d?
Using unix command how to display no of records in oracle?