Question
a.
rm my\ document.txt
b.
rm my document.txt
c.
rm *
d.
rm my_document.txt
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. To remove the file named my document.txt, which one of the following commands will be used?
Similar Questions
Discover Related MCQs
Q. We can escape the \ itself using escaping.
View solution
Q. For escaping the newline character we can use ____
View solution
Q. The output of the following command is ______________.
$ echo ‘The special character $ echo hello and | ls chap*’
View solution
Q. Double quotes are more permissive than single quotes and allow the evaluation of the $ and ` itself.
View solution
Q. Which of the following command will remove the file named * ?
View solution
Q. We can use the > symbol along with pipe in a command.
View solution
Q. What is the output of the following command?
$ wc -c *.c
View solution
Q. In a pipeline, the command on the left of | must use standard output and one on the right must use standard input.
View solution
Q. Which command saves one copy of character stream in a file and store the other to standard output?
View solution
Q. tee is an internal command.
View solution
Q. Which of the following is not true about tee command?
View solution
Q. Apart from its use in redirection, /dev/tty can also be used as an argument to some commands.
View solution
Q. Which of the following meta-character is used in command substitution?
View solution
Q. Command substitution is enabled in single quotes also.
View solution
Q. POSIX recommends the use of ____ instead of archaic `command ` for command substitution.
View solution
Q. Which of the following shell doesn’t support the command substitution using $ recommended by POSIX?
View solution
Q. Which symbol is used for assigning a value to variables?
View solution
Q. Which symbol is used for evaluation of variables?
View solution
Q. Which of the following is a correct initialization of variables to null strings?
View solution
Q. A variable can be removed using _____
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!