If i want directory changes and with terminal showing me default directory stay ,
when changes directory khan@raselkhan:~$ cd '/media/khan/Development/Express'
then showing me below
khan@raselkhan:/media/khan/Development/Express$
But , I want directory changes(/media/khan/Development/Express
) and with terminal showing me like khan@raselkhan:~$
directory
How i can fix this ?
Edit your
.bashrc
file (gedit ~/.bashrc
) and change your PS1 there to like as below or add it at the end of the file:Save the file, close and reopen the Terminal or source it again(
. ~/.bashrc
orsource ~/.bashrc
) and see the changes.