Quantcast
Channel: "Command not Found" Errors when Sourcing my Env - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Answer by KuboMD for "Command not Found" Errors when Sourcing my Env

$
0
0

Thanks to helpful comments, I was able to remove the variables I didn't need until cron stopped complaining.

command not found

Errors were silenced by removing the LS_COLORS line from my .env file. The fg: no job control error, as I understand it, was caused by these two lines:

LESSOPEN=| /usr/bin/lesspipe %s
LESSCLOSE=/usr/bin/lesspipe %s %s

because the shell was interpreting %s as fg. This is unique to my case, but it got my cron jobs working with my expect scripts, so I'm satisfied with this outcome.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>