what is "umask"?

Answer Posted / prakash

umask 700 file1

is

similar to


chmod 077 file1

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the first line from a file using just the terminal?

597


What are the different types of commonly used shells on a typical linux system?

552


What's the difference between scripting and coding?

599


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

515


How do you debug a script?

567






Is shell scripting difficult?

559


How will you connect to a database server from linux?

557


What is shift command in shell script?

529


What is the use of "$#" in shell scripting?

550


What are the different commands available to check the disk usage?

495


What does $0 mean in shell script?

560


What is eval in shell script?

653


What makes c shell a more preferable option than the bourne shell?

543


What is bash coding?

501


write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.

2230