1.

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.



Discussion

No Comment Found