Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of sed command in unix?

1195


What is the use of egrep command in unix?

1176


How do I run a bash script?

1176


What is the use of awk command in unix?

1116


What is a command and examples?

1213


Write a command to kill the last background job?

1098


Why is grep called grep?

1286


What is the significance of the 'tee' command?

1193


Who command in unix?

1131


What does #!/ Bin sh do?

1065


What is the functionality of a top command?

1101


What is awk command used for?

1223


Explain command to view process running?

1123


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1209


How does the system know where one command ends and another begins?

2245