aboutsummaryrefslogtreecommitdiffstats
path: root/site/download/cleanall.sh
diff options
context:
space:
mode:
authorCristian Cezar Moisรฉs <[email protected]>2024-02-18 06:28:49 +0000
committerGitHub <[email protected]>2024-02-18 06:28:49 +0000
commit4f5ad6a7af15a43e1469e994618e24c623177359 (patch)
tree90d29a270758a899a07fce1935103eb48663587f /site/download/cleanall.sh
parent80eabade58e7d95c26b55b7b2dccc10092521f7d (diff)
Add files via upload
Diffstat (limited to 'site/download/cleanall.sh')
-rw-r--r--site/download/cleanall.sh51
1 files changed, 51 insertions, 0 deletions
diff --git a/site/download/cleanall.sh b/site/download/cleanall.sh
new file mode 100644
index 0000000..d37aae0
--- /dev/null
+++ b/site/download/cleanall.sh
@@ -0,0 +1,51 @@
+echo -e "
+\033[1;32m
+ .d8888b. 888 d8888 888 888~~~
+ d88P Y88b 888 d88888 888 888~~~~~
+ 888 888 888 d88P888 888 888~~~~~~~
+ 888 888 .d88b. 8888b. 88888b. d88P 888 888 888~ ~ ~~~~~~
+ 888 888 d8P Y8b 88b 888 88b d88P 888 888 888~~~~ ~~~~~~
+ 888 888 888 88888888 .d888888 888 888 d88P 888 888 888~~~~~~~~
+ Y88b d88P 888 Y8b. 888 888 888 888 d8888888888 888 888~~ ~ ~~
+ Y8888P 888 Y8888 Y888888 888 888 d88P 888 888 888~~
+ // \\
+ ||========================================================================||
+ ๐“ข๐“ฎ๐“ฌ๐“พ๐“ป๐“ฎ ๐“ญ๐“ฎ๐“ต๐“ฎ๐“ฝ๐“ฎ ๐”‚๐“ธ๐“พ๐“ป ๐“ฝ๐“ฎ๐“ถ๐“น, ๐“ฝ๐“ป๐“ช๐“ผ๐“ฑ ๐“ช๐“ท๐“ญ ๐“ฏ๐“ป๐“ฎ๐“ฎ ๐“ญ๐“ฒ๐“ผ๐“ด ๐“ผ๐“น๐“ช๐“ฌ๐“ฎ ||
+ ===========================================================================
+ ๐’ž๐“‡๐‘’๐’ถ๐“‰๐‘’๐’น ๐ต๐“Ž ๐’ž๐“‡๐’พ๐“ˆ๐“‰๐’พ๐’ถ๐“ƒ ๐’ž. ๐‘€๐‘œ๐’พ๐“ˆรฉs
+ --------------------------------------\033[0m"
+day=$(date +%A)
+User=$(whoami)
+now=$(date +"%T")
+echo -e " \e[1;37m ||\e[0m\033[6m Today is : $day\033[0m\e[1;37m|\e[0m\e[1;37m || Time: $now ||\e[0m \033[6m User Is : $User\033[0m\e[1;37m ||\e[0m"
+echo "----------------------------------------------------------------------"
+echo "|| ๐“ข๐“ฒ๐”ƒ๐“ฎ ๐“ธ๐“ฏ ๐“•๐“ฒ๐“ต๐“ฎ๐“ผ ||"
+echo "----------------------------------------------------------------------"
+du -h --max-depth=1 /tmp/ /var/log/ /var/cache/ ~/.cache/
+echo "----------------------------------------------------------------------"
+echo "|| ๐“’๐“ต๐“ฎ๐“ช๐“ท๐“ฒ๐“ท๐“ฐ ||"
+echo "----------------------------------------------------------------------"
+cd /
+rm -rfv ~/var/log/*
+rm -rfv ~/var/cache/*
+rm -rfv ~/.cache/*
+rm -rfv ~/tmp/*
+rm -rfv ~/usr/src/tmp/*
+rm -rfv ~/.bash_history
+rm -rfv /zero.yes /zero.file
+echo " "
+echo "----------------------------------------------------------------------"
+echo "|| ๐“’๐“ต๐“ฎ๐“ช๐“ท๐“ฒ๐“ท๐“ฐ ๐“•๐“ป๐“ฎ๐“ฎ ๐“ค๐“น ๐“ข๐“น๐“ช๐“ฌ๐“ฎ ||"
+echo "----------------------------------------------------------------------"
+dd if=/dev/zero of=zero.small.file bs=1024 count=102400
+shred -z zero.small.file
+cat /dev/zero > zero.file
+sync
+rm zero.small.file
+shred -z zero.file
+sync
+rm zero.file
+echo "----------------------------------------------------------------------"
+echo "|| ๏ผณ๏ฝ™๏ฝ“๏ฝ”๏ฝ…๏ฝ ๐Ÿ™๐Ÿ˜๐Ÿ˜% ๐“’๐“ต๐“ฎ๐“ช๐“ท ||"
+echo "---------------------------------------------------------------------"
+exit 0