Delete a single hidden file
1 | rm .fileName |
Delete a multiple hidden files
1 | rm .file1 .file2 .file3 |
Delete all hidden files of a directory
This will delete all hidden files of a folder.
1 | rm -rf /path/to/dir/.* |
Delete all hidden files of current directory
This will delete all hidden files of current folder.
1 | rm -rf .* |