CompTIA A+ 220-902

Category - Other Operating Systems and Technologies

What command is used to remove a file from a directory?
  1. rm
  2. grep
  3. cd
  4. chmod
Explanation
Answer: A - The rm command is used to remove a file from a directory.

The rm command is a Linux command used to delete or remove a file. The user deleting a file must have the right permissions to delete the file.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz