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
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Which unix command lists files/folders in alphabetical order?
Which command is used to create a directory?
What does this command do,"$more readme.txt“?
What is the general format of unix command syntax?
What is the command to compare two files in unix?
Name the general commands in using unix os for a beginner?
How to display no of records in oracle using unix command?
Who command in unix?
What is merge command in unix?
Explain command to show the space allocation of files?
What is unix command line?
Can you enlist some commonly used network commands?
What is the significance of the 'tee' command?
Explain how to use grep command to list find the records of a file containing 10 different strings?