While setting environment variable in ubuntu 14.04(trusty) ec2 instance I have mistakenly did some typo. So now every time I log in I get following error on command line.
-bash: export: `/usr/sbin/sendmail:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games': not a valid identifier
Since a newbie to Ubuntu environment I am not able to figure it out by myself. Any help would be appreciated. Thanks.