• +91 9723535972
  • info@interviewmaterial.com

Unix Interview Questions and Answers

Question - Can you write a command to erase all files in the current directory including all its sub-directories?

Answer -

rm –r* is used to erase all files in the current directory including all its sub-directories. rm is used for deleting files, but with the addition of option -r it erases all files in directories and subdirectories, and finally, an asterisk represents all entries.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners