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

Which command is used to kill the last background job?

1289


How to use grep command to list find the records of a file containing 10 different strings?

1084


How do I use grep to find a file?

1054


What is used to type command?

1004


how to sort the content of the file based on numeric values

1727


Are you in or at the office?

1067


What is unix command?

1201


What is difference between grep and find command in unix?

1140


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1141


What is the difference between grep and grep?

1059


Who invented grep?

1105


Which command is used to find whether the system is 32 bit or 64 bit?

1074


Why is it called grep?

968


What is the function of grep command in unix?

1105


How do you grep recursively?

1054