Vidyalelo
Computer Science · all questions

UNIX
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

1,129

Questions

22/57

Page

Pick an option on a question to see the right answer and solution.

The superuser can set the sticky bit.

Select an option to see the answer and solution.

A file has a permission set as 777 ie rwxrwxrwx but the directory permissions are 400. If the user tries to delete the file, will he be able to do it?

Select an option to see the answer and solution.

For extracting a substring, . . . . . . . . function is used.

Select an option to see the answer and solution.

What is execute permission?

Select an option to see the answer and solution.

The sequences of directories that a shell searches while looking for a command is specified in the PATH variable.

Select an option to see the answer and solution.

chmod and fchmod calls are used for changing file permissions.

Select an option to see the answer and solution.

readonly command is used to protect a variable from reassignment.

Select an option to see the answer and solution.

The inode number associated with a file is changed after renaming it.

Select an option to see the answer and solution.

. . . . . . . . command moves the cursor to the end of next line.

Select an option to see the answer and solution.

Which command is used to abort the editing and quit the editing mode?

Select an option to see the answer and solution.

Which command is used to change the ownership of a file?

Select an option to see the answer and solution.

Which command is used for removing an empty directory?

Select an option to see the answer and solution.

Which command is used by the administrator to modify some parameters of existing users?

Select an option to see the answer and solution.

Which command is used for unzipping files which are compressed using zip command?

Select an option to see the answer and solution.

Which built variable is used for defining the field delimiter in the output?

Select an option to see the answer and solution.

The command c0 will change the text from current cursor to the end of line.

Select an option to see the answer and solution.

To remove the file named my document.txt, which one of the following commands will be used?

Select an option to see the answer and solution.

Which of the following symbol(s) can be used to redirect the output to a file or another program?

Select an option to see the answer and solution.

Which key is used for deleting text?

Select an option to see the answer and solution.

What is a directory file?

Select an option to see the answer and solution.