I was trying to uninstall python3 from ubuntu 12.04 with the following command:
sudo apt-get remove --purge python3*
and it just remove many things from system, including the ubuntu-desktop. After that, I reinstalled the desktop with the command:
sudo apt-get install ubuntu-desktop
The problem is that, when I open a terminal, it shows me a
~
sign on top off the screen, and didn't start from home, as in
nilson@GHOSTRIDER~$
What's wrong and how can I correct this?
For details see the marked area in the following picture:

.bashrc,.profileand there's no~char present. But, another problem is that, when I typecd to_any_dir, it show the dir in new line. See the picture in the link above. – noslin005 Feb 27 '14 at 16:48echo $PS1command? – Radu Rădeanu Feb 27 '14 at 16:55\[\e]0;\u@\h: \w\a\]\[\033[01;31m\]\w\[\033[00m\]\n${debian_chroot:+($debian_chroot)}\[\033[01;34m\]\u\[\033[01;32m\]@\[\033[01;34m\]\h\[\033[00m\]\$ $(parse_git_branch)$(parse_svn_branch)– noslin005 Feb 27 '14 at 17:04~/.bashrc. There was another line above, and I just uncomment it and comment the second one. The newecho $PS1is\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ $(parse_git_branch)$(parse_svn_branch). Thank You All. – noslin005 Feb 27 '14 at 17:14