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

How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1269


Which unix command lists files/folders in alphabetical order?

1683


Which command is used to create a directory?

1103


What does this command do,"$more readme.txt“?

1109


What is the general format of unix command syntax?

1821


What is the command to compare two files in unix?

1062


Name the general commands in using unix os for a beginner?

1099


How to display no of records in oracle using unix command?

1123


Who command in unix?

1100


What is merge command in unix?

1454


Explain command to show the space allocation of files?

1083


What is unix command line?

1190


Can you enlist some commonly used network commands?

1061


What is the significance of the 'tee' command?

1147


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

1024