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 can we use grep command in unix?
how to sort the content of the file based on numeric values
Is grep faster than awk?
What do chmod, chown, chgrp commands do?
What do know about tee command and its usage?
How to find $ai_serual resolved path by using unix
Why is awk called awk?
What is sed awk grep?
Enumerate some of the most commonly used network commands in unix?
How do I find previous commands in unix?
What is awk command used for?
What is used to type command?
How do I run a whois command?
What does #!/ Bin sh do?
What is the first character of the output in ls l command?