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 unix command to confirm a remote host is alive or not?

1221


what is the advaantage of each user having its own copy of the shell?

2561


Which unix command to make a new directory?

1152


What does the “echo” command do?

1161


Differentiate cmp command from diff command.

1180


What is the command to find maximum memory taking process on the server?

1225


What does the md command do?

1150


What is $0 bash?

1208


What is the function of grep command in unix?

1187


What does find command return in unix?

1160


What are awk commands?

1166


What is rmdir command?

1115


Describe the zip/unzip command using gzip.

1163


What is ctrl d?

1103


Using unix command how to display no of records in oracle?

1167