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

4/57

Page

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

Which command is used to print a file?

Select an option to see the answer and solution.

Which command will be used with vi editor to replace single character under cursor with any number of characters?

Select an option to see the answer and solution.

Which of the following set options is used with vi editor to ignore case while searching for patterns?

Select an option to see the answer and solution.

Which command is used to list out all the hidden files along with the other files?

Select an option to see the answer and solution.

Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note?

Select an option to see the answer and solution.

The chmod ugo+rw note command can be represented in octal notation as

Select an option to see the answer and solution.

Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?

Select an option to see the answer and solution.

Which command is used with vi editor to search a pattern in the forward direction?

Select an option to see the answer and solution.

Which of the following commands is used to assign executable permission to the owner of the file named "note"?

Select an option to see the answer and solution.

The command to count the number of files in the current directory by using pipes, is

Select an option to see the answer and solution.

Which of the following commands is used to get directory one level up?

Select an option to see the answer and solution.

Which of the following commands is used to count the total number of lines, words, and characters contained in a file.

Select an option to see the answer and solution.

Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories?

Select an option to see the answer and solution.

Which of the following commands is used to change the working directory?

Select an option to see the answer and solution.

Which of the following commands is used to view your file 24 lines at a time?

Select an option to see the answer and solution.

Which shell's wild-cards is used to match a single character?

Select an option to see the answer and solution.

In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.

Select an option to see the answer and solution.

Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?

Select an option to see the answer and solution.

The command chmod 761 note is equivalent to

Select an option to see the answer and solution.

The commonly used UNIX commands like date, ls, cat, etc. are stored in

Select an option to see the answer and solution.