-1

This script used to work before, but now it does not work at all.

I checked log and this is the error I got

andy@7 ~/Downloads> grep 'emptytrash60.sh' /var/log/syslog > home/andy/Downloads/emptytrash.txt
bash: home/andy/Downloads/emptytrash.txt: No such file or directory

How do I fix this?

Rishon_JR
  • 1,013
fixit7
  • 3,127

1 Answers1

2

You are missing a slash at your home path. Change home/andy/Downloads/emptytrash.txt to /home/andy/Downloads/emptytrash.txt

Raja G
  • 102,391
  • 106
  • 255
  • 328