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 Online(STM) and offline diagnostics in HP-UX?

2 Answers   HP,


What are the differences among a system call, a library function, and a unix command?

0 Answers  


Where can I get the free download of Unix by Yeswant Kanetkar?

5 Answers  


How do I delete files from command prompt?

0 Answers  


in UNIX ,What is the command to view contents of a large error log file?

7 Answers  


Will rm -r* removes hidden files?

10 Answers  


Write a grep (or grep) command that selects the lines from a file that have exactly three characters.

24 Answers   Mac, Nokia,


What is the difference between pipe and xargs?

2 Answers   Amazon, CTS,


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

0 Answers   Epsilon,


how to remotely move a file ??? that mean how to move a file one machine to another machine ???

10 Answers   Altair,


1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?

7 Answers  


what do you understand bythe term 'de-mountable volumes'?

2 Answers   Infosys,


Categories