Remove everything from a folder in Linux
May 25, 2023 · Snippet · 1 min, 42 words
to remove everything from a folder, open the terminal and write the command below
sudo rm -rf /folder_directory/{*,.*}
📝 Remember one thing don't give a space between this {*,.*}
Share on Social Media

Comments
No comments yet…