Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
To delete a file you can use rm
command like:
rm file_name(s)
For deleting directories we have to use -r
option with the command.
Also, to delete all files of a particular extension, we can replace file_name with *extension. So, to delete all txt
files in a directory, we can use rm *.txt
cd ~
command to go to your home directoryz/y/x
created in the previous question. Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...