Which Command is used to Delete All Files in the Current Directory?
In a current directory, all files can be deleted by using rm command. The rm command removes the entries for the specified File parameter from a directory. If an entry is the last link to a file, the…