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

Explain command to show the space allocation of files?

1169


What are the general commands in using unix os for a beginner?

1216


Explain command to view process running?

1178


Is command prompt unix?

1217


What is the general format of unix command syntax?

2026


What does find command return in unix?

1200


Does cp command overwrite files?

1266


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1449


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

1284


What happens when we execute a unix command?

1194


What is updatedb?

1091


Which unix command to make a new directory?

1189


Which command will print your home directory on screen?

1149


What is the nmap command?

1238


Explain ‘library functions’ with respect to unix commands?

1214