InterviewSolution
Saved Bookmarks
| 1. |
Is There A Way To Erase All Files In The Current Directory, Including All Its Sub-directories, Using Only One Command? |
|
Answer» Yes, that is possible. Use “rm –r *” for this purpose. The rm command is for deleting files. The –r option will erase DIRECTORIES and subdirectories, including files WITHIN. The ASTERISK REPRESENTS all entries. Yes, that is possible. Use “rm –r *” for this purpose. The rm command is for deleting files. The –r option will erase directories and subdirectories, including files within. The asterisk represents all entries. |
|