shell

Remove Dot Files (Hidden Files) with rm -rf Command

This article introduces how to delete dot files (hidden files) with the rm -rf command in the Bash command-line language of Linux computers and servers.

Shou Arisaka
1 min read
Oct 22, 2025

This article introduces how to delete dot files (hidden files) with the rm -rf command in the Bash command-line language of Linux computers and servers.

Do it with ./..

rm -rf ./.* 2> /dev/null

Share this article

Shou Arisaka Oct 22, 2025

๐Ÿ”— Copy Links