Somehome you messed with .bashrc file & it
start mulfunctioning then you can just backup
and replace it with its working copy.
Usually .bashrc file located in /home/username (sangram is my username).
cd /home/sangram
Backup
cp .bashrc .bashrc_backup
Delete
rm -rf bashrc
First Way:
Now go for https://gist.github.com/marioBonales/1637696
which has default Ubuntu Bashrc file content.copy its
content and do
nano .bashrc
Then add copied content to it.Then
source .bashrc
Second Way:
copy the content of /etc/skel/.bashrc
and paste it into empty .bashrc
Now
source .bashrc