In Linux, the 'umask' command is used to: MCQ with Answer and Explanation

In Linux, the 'umask' command is used to:
A. Delete files securely
B. Set default file permissions for newly created files
C. Unmask system files
D. Change user ID
Answer: Option B
Solution (By JKSSB Mock Tests)
umask defines which permissions are removed (masked) by default when a file or directory is created.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
What is the default command prompt interpreter application executable file in modern Windows?
A. command.com
B. terminal.sys
C. bash.exe
D. cmd.exe

Correct Answer: Option D


Explanation:
The default command prompt interpreter application file for modern Windows systems is 'cmd.exe'.

This question belongs to: Computer Operating Systems
Question #2
Which of the following is a Linux command used to manage print queues?
A. lpq
B. lpr
C. lp
D. lpc

Correct Answer: Option C


Explanation:
lp is used to send files to print; lpr is similar; lpq shows queue; lpc controls printers.

This question belongs to: Computer Operating Systems
Question #3
Which of the following commands is used in Linux to copy files or directories from one location to another?
A. cp
B. rm
C. mv
D. ln

Correct Answer: Option A


Explanation:
The 'cp' command is used in Unix-like systems to copy files or entire directory trees from a source path to a destination path.

This question belongs to: Computer Operating Systems