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.