Results 1 to 5 of 5

Thread: The output of ls is not color coded

  1. #1
    Join Date
    Jan 2009
    Beans
    261
    Distro
    Ubuntu 12.04 Precise Pangolin

    The output of ls is not color coded

    The output of ls is not color coded.
    This problem started after I deleted all hidden files (files that start with a dot) in my home directory.

  2. #2
    Join Date
    Apr 2008
    Beans
    451
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: The output of ls is not color coded

    I think you miss .bashrc, but to be save: copy all of them from /etc/skel to your home directory, then log out and back in again.

  3. #3
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,636
    Distro
    Ubuntu

    Re: The output of ls is not color coded

    Code:
    cp /etc/skel/{.bashrc,.bash_logout,.profile} ~/ && . ~/.bashrc
    should sort you out.

  4. #4
    Join Date
    Jan 2009
    Beans
    261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: The output of ls is not color coded

    Code:
    cp /etc/skel/{.bashrc,.bash_logout,.profile} ~/ && . ~/.bashrc
    The above code worked (even without logging out). Thank you.

  5. #5
    Join Date
    Feb 2013
    Beans
    1

    Re: The output of ls is not color coded

    I know this thread is old, however it did help solve the same problem I had. I'd like to know why that worked though, if someone wouldn't mind explaining.

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
  •