There is this ONE machine at work that always has a problem. It is all messed up. But one thing I thought I could fix was seeing this error ...
-bash: ource: command not found
... as soon as I ssh on to the host. It also happens if I su
to another user ... as in:
$ sudo su -
Last login: Fri Dec 9 22:57:32 UTC 2022 on pts/1
-bash: ource: command not found
I looked at the /etc/profile
and the /etc/bashrc
and I do not see the string "ource" anywhere in them. Where else should I look? Is there something like set -x
I can set to debug login scripts?
~/.bashrc
and~/.profile
. Check those too. Almost certainly there is a bad edit, and that word should besource
. – Paul_Pedant Dec 09 '22 at 23:15