For last few days I'm having this issue. Whenever I open terminal in Ubuntu 16 the first line it says is '$: command not found'.$: command not foundjitendra@jitendra-ubuntu:~ $
Terminal says command not found on start
bash
One of your shell's initialization files contains a line with a single, lone $. Since it is on a line by itself, it is run as a command and since no command with the name $ exists, you get that error. You need to find and delete that line. Open a terminal and run this command:grep --color -PH '^\s*\$\s*$' ~/.bashrc ~/.profile ~/.bash_profile ~/bash.login \     ~/.bash_aliases /etc/bash.bashrc /etc/profile \     /etc/profile.d/* /etc/environment 2> /dev/nullThat should return a line like:/home/jitendra/.bashrc:$Open the file name that is reported, find the line and delete it.