Login 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.
Loading comments...