Results 1 to 3 of 3

Thread: Bash Prompt

  1. #1
    Join Date
    Jun 2006
    Location
    Texas
    Beans
    31
    Distro
    Ubuntu 6.06

    Bash Prompt

    Hi All, I'm working on a remote Ubuntu server through the terminal on my Mac. Over the weekend I configured SSH keys to work, and somehow in the process I wiped out the settings for my Bash prompt. I lost color coding on files & folders, and I also lost command history via up/down arrows. Can someone point me in the right direction?

    Thanks,
    Chris

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    /etc/skel

    You can find the original .bashrc and .profile copies in the directory /etc/skel. Copy from there and you'll restore the defaults.

  3. #3
    Join Date
    Jul 2010
    Location
    London
    Beans
    697
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: Bash Prompt

    FYI, your previous commands are stored in ~/.bash_history so if that's gone missing you'll just have to start fresh.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •