SSH Commands

However listing all files/folders that need to be deleted can be quite time consuming. Fortunately, rmaccepts several arguments which can ease your task. In the above example, you could type:
This will match all files starting with ‘myFile’ and ending in ‘.txt’ and delete them.
To delete a whole folder and its content recursively, you can use:
To delete all files/folders in the current directory, without deleting the directory itself, you would need to use:

Comments

Popular posts from this blog

How to do jQuery ajax post

AngularJs UI Route script