I had this script:
spd-say "Hello, don't forget the trash bin."
So it reminded me of what I supposed to do, and I moved it to /usr/local/bin/
and the command trash
pronounced the argument,then I set a crontab job, to make it remind me everyday what I wanted to do. But the crontab didn't work and I couldn't understand why(It does other jobs flawlessly).
Once I saw this message in my terminal:
You have new mail in /var/mail/root
at the end of which this line made me do a bad mistake:
/bin/sh: 1: trash: not found
I know that it was a silly thing to do but I did:
mv /usr/local/bin/trash /bin/sh
thinking that sh
is a directory and I should move the script there in order to be executed.
Now, when I want to see a man page the system says:
"Hello, don't forget the trash bin."
And the output of cat sh
is:
#!/bin/bash
spd-say "Hello, don't forget the trash bin. "
Anyway, can I do anything or I have to reinstall my operating system?
man
docs are rubbish (or difficult to understand) – Malekai Jul 14 '19 at 18:46man
docs can be quite useful but only if you're not a complete beginner (I speak from personal experience) which is why I wrote that. – Malekai Jul 14 '19 at 18:50