Question
a.
^pat
b.
$pat
c.
pat$
d.
pat^
Posted under Operating System
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
Similar Questions
Discover Related MCQs
Q. Which command is used to sort the lines of data in a file in reverse order
View solution
Q. Which command is used to display the top of the file?
View solution
Q. Which command is used to copy all files having the string chap and any two characters after that to the progs directory?
View solution
Q. Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?
View solution
Q. Which command is used to remove a directory?
View solution
Q. Which of the following keys is used to replace a single character with new text?
View solution
Q. Which command is used to extract specific columns from the file?
View solution
Q. Which command sends the word count of the file infile to the newfile.
View solution
Q. Which command is used to remove the read permission of the file 'note' from both the group and others?
View solution
Q. Which of the following commands is used to display the directory attributes rather than its contents?
View solution
Q. Which of the following files will displayed by this command cat *ch*
View solution
Q. 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:
View solution
Q. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use
View solution
Q. Which of the following is not a communication command.
View solution
Q. Which of the following keys is used to move the cursor to the end of the paragraph.
View solution
Q. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
View solution
Q. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
View solution
Q. Which command is used to remove a file?
View solution
Q. Which symbol is used to separate more than one command in the same command line?
View solution
Q. The agency that sits between the user and the UNIX system is called the
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!