Created
June 28, 2023 16:32
-
-
Save jonasfroeller/b55fc2aeed7dfda94374a2b000a0d16b to your computer and use it in GitHub Desktop.
deletes temporary data on the system (Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# changing to temp dir | |
cd /tmp | |
# deleting temporary files and directories | |
rm -rf * | |
read -p "Press Enter to exit..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment