I have the following /etc/environment:
Whenever I log in I get the following errors:
-bash: id: command not found -bash: tty: command not found
What am I doing wrong?
(my actual /etc/enviroment is more complicated and sets up java onto the path but for simplicity I cant even get the above to work)
I'm using Centos6