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

1/57

Page

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

Which symbol will be used with grep command to match the pattern pat at the beginning of a line?

Select an option to see the answer and solution.

Which command is used to sort the lines of data in a file in reverse order

Select an option to see the answer and solution.

Which command is used to display the top of the file?

Select an option to see the answer and solution.

Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

Select an option to see the answer and solution.

Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?

Select an option to see the answer and solution.

Which command is used to remove a directory?

Select an option to see the answer and solution.

Which of the following keys is used to replace a single character with new text?

Select an option to see the answer and solution.

Which command is used to extract specific columns from the file?

Select an option to see the answer and solution.

Which command sends the word count of the file infile to the newfile.

Select an option to see the answer and solution.

Which command is used to remove the read permission of the file 'note' from both the group and others?

Select an option to see the answer and solution.

Which of the following commands is used to display the directory attributes rather than its contents?

Select an option to see the answer and solution.

Which of the following files will displayed by this command cat *ch*

Select an option to see the answer and solution.

The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:

Select an option to see the answer and solution.

If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

Select an option to see the answer and solution.

Which of the following is not a communication command.

Select an option to see the answer and solution.

Which of the following keys is used to move the cursor to the end of the paragraph.

Select an option to see the answer and solution.

Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?

Select an option to see the answer and solution.

The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is

Select an option to see the answer and solution.

Which command is used to remove a file?

Select an option to see the answer and solution.

Which symbol is used to separate more than one command in the same command line?

Select an option to see the answer and solution.