Vidyalelo
Computer Science · Q19

UNIX

Engineering and GATE · Computer Science · question 19

Q19

Which command is used to remove a file?

A.
remove
B.
rm
Answer
C.
mv
D.
del
E.
None of the above

Answer: Option B

Solution

Answer: Option B
Solution:
In Unix, the rm command is used to remove or delete files and directories. It stands for "remove".
So, rm is the correct command to remove a file.