I am trying to stamp out errors on a new Ubuntu server install and am getting errors in the logs that I have no clue on how to track down.
The logs show this line over and over
sh: 1: cd: can't cd to ~
sh: 1: cd: can't cd to ~
sh: 1: cd: can't cd to ~
sh: 1: cd: can't cd to ~
How do I find the source from such a vague error? It does not even have a time of occurrence that most errors in the logs have.
Thanks in advance. It is going to be a long day!