I am getting an error message every time I ssh into my box or run
sudo -i. It looks like this for login:
login as: person chands@ubuntu-server's password: -bash: .: filename argument required .: usage: . filename [arguments] chands@ubuntu-server:~$
And like this when I execute
chands@ubuntu-server:~$ sudo -i [sudo] password for chands: -bash: .: filename argument required .: usage: . filename [arguments] root@ubuntu-server:~#
This error doesn't appear when I launch screen, when I use
sudo to execute some other commands, when i execute
sudo su and not even when I
su into chands from root.
I checked ~/.bashrc for both chands and root and /etc/bash.bashrc but all three of them are the defaults and none of them have any errors with
Also, this error started happening after i removed and purged byobu from my system. I don't know if this has anything to do with the problem, but that's my point of reference before which everything worked fine.
What could be going wrong here? Any ideas anyone?