Question
a.
rm *
b.
rm -r *
c.
rm all
d.
rm *.*
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 command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories?
Similar Questions
Discover Related MCQs
Q. Which of the following commands is used to change the working directory?
View solution
Q. Which of the following commands is used to view your file 24 lines at a time?
View solution
Q. Which shell's wild-cards is used to match a single character?
View solution
Q. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
View solution
Q. 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?
View solution
Q. The command chmod 761 note is equivalent to
View solution
Q. The commonly used UNIX commands like date, ls, cat, etc. are stored in
View solution
Q. Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?
View solution
Q. Which of the following commands is used to summarize the disk usage?
View solution
Q. Which command is used to sort the lines of data in a file in alphabetical order?
View solution
Q. If a file has read and write permissions for the owner, then the octal representation of the permissions will be
View solution
Q. Which command is used to copy a file wb with the same name from the programs directory to the misc directory?
View solution
Q. Which is the earliest and most widely used shell that came with the UNIX system?
View solution
Q. The seventh field of /etc/password is
View solution
Q. Which command is used to display the end of the file?
View solution
Q. Which command is used to create a directory?
View solution
Q. Which command is used to display the device name of the terminal you are using?
View solution
Q. The ls -l command tells
View solution
Q. Which option will be used with disk free command to include the total amount of disk space in the file system?
View solution
Q. Which command is used to set the three permissions for all the three categories of users of a file?
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!