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?

Answers were Sorted based on User's Feedback



What UNIX command will control the default file permissions when files are created?..

Answer / indrajit bhaga / manoj jayswal

"umask <filename>" command is use to see default file
permissions or creat default file permissions.

Is This Answer Correct ?    18 Yes 1 No

What UNIX command will control the default file permissions when files are created?..

Answer / 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

What UNIX command will control the default file permissions when files are created?..

Answer / mohammed

umask

Is This Answer Correct ?    0 Yes 0 No

What UNIX command will control the default file permissions when files are created?..

Answer / swapna

"chmod" command will control the default file permissions
when files are created.

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More Unix Commands Interview Questions

what is the difference between npar and vpar in HP-UX?

1 Answers   CSC,


How do you move or rename a file or directory?

1 Answers  


What does mkdir up2date; touch outdated up2date do?

2 Answers  


How to open a Database using Unix Command Please Do Reply

9 Answers   Cognizant, CTS,


What is the command to find hidden files in the current directory?

0 Answers  


How to remove a crontab file?

2 Answers  


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

0 Answers  


What are the commands in UNIX to list the files in a Directory?

0 Answers   CGI,


What is "type" command in unix?what is the functionality??

2 Answers  


What is $0 bash?

0 Answers  


What does this command do? Cat food 1 > kitty

0 Answers  


to list a particular line in the file

5 Answers  


Categories