What UNIX command will control the default file permissions
when files are created?
Answers were Sorted based on User's Feedback
Answer / indrajit bhaga / manoj jayswal
"umask <filename>" command is use to see default file
permissions or creat default file permissions.
| Is This Answer Correct ? | 18 Yes | 1 No |
Answer / 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 |
the difference between a soft link and a hard link?
what is the command to list files in a directory in UNIX?
Which mode is used for allowing file write,read and append mode?
In vi editor how do you execute unix commands?
What do know about tee command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How can we "forked" process in UNIX? How then recognize in any of the branches we?
What do chgrp command do?
what is the command to print last 8 lines of any text file.
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
What is a bash command?
How many unix commands are there?