Ubuntu -depth: command not found error - How to fix?


(App Shah) #1

Have you faced this error before?

I tried to run the same script but got some error.
./Diskclean.sh: line 59: -depth: command not found
./Diskclean.sh: line 60: -type: command not found
./Diskclean.sh: line 61: -print: command not found

./Diskclean.sh: line 68: mail: command not found

PS: i am using ubuntu 16.04. Please help.

Let me know how to fix it. You can find more details here:

https://crunchify.com/how-to-automatically-delete-tmp-folders-in-linux-automatic-disk-log-cleanup-bash-script/


Copyright © 2018 Crunchify, LLC.  •  WordPress Services  •  Contact  •  Hosted at DiscourseHosting.