Question
dirx diry dirz dirzw
a.
rm dir?
b.
rm dirx diry dirz dirzw
c.
rm *
d.
rm dir*
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which command would be most suitable to remove the following files? dirx diry dirz dirzw
Similar Questions
Discover Related MCQs
Q. Which of the following files will not be deleted using “rm chap??” ?
View solution
Q. Which of the following command will list all the hidden filenames in our directory having at least three characters after the dot (.) ?
View solution
Q. * and ? cannot match ____
View solution
Q. rm chap0[1234] will delete all of the following files.
chap01 chap02 chap03 chap04
View solution
Q. Which of the following files will not be listed using the following command?
ls chap0[1-4]
View solution
Q. Which of the following symbol is used for negating the character class?
View solution
Q. Which of the following shell doesn’t support ! symbol for negating the character class?
View solution
Q. The command cd * will work.
View solution
Q. Providing a backslash (\) before the wild card to remove its special meaning is called _____
View solution
Q. Enclosing the wild card or the entire pattern within quotes is called ___
View solution
Q. Redirection is a process of switching of the standard stream of data.
View solution
Q. How many files are used for representing different streams?
View solution
Q. Which stream is connected to the display?
View solution
Q. Which stream is used for representing error messages?
View solution
Q. The command wc < sample.txt will count data from the file sample.txt.
View solution
Q. Which symbol is used for taking input from both file and standard input?
View solution
Q. Which of the following symbol(s) can be used to redirect the output to a file or another program?
View solution
Q. The >> symbol is used to overwrite the existing file if it exists.
View solution
Q. Which file descriptor is used to represent standard error stream?
View solution
Q. We can redirect the error message to file named newfile using __________ command.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? 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!