Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8484807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:28:26+00:00 2026-06-10T20:28:26+00:00

I have mounted a network share with NFS and when I do ls –color

  • 0

I have mounted a network share with NFS and when I do ls --color it highlights the directories with green which is very hard to see. What LS_COLORS key do I have to change to change the highlight color? Also once this is done do I have to add something to my bashrc so that this takes effect on every login?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:28:27+00:00Added an answer on June 10, 2026 at 8:28 pm

    I’be finally figured this out and I needed to edit the OPEN_WRITABLE flag in the dircolors. To do this I followed these steps:

    1. execute the following from your home dir dircolors -p .dircolors
    2. then edit the file ~/.dircolors and update OPEN_WRITABLE with the desired colors
    3. edit ~/.bashrc and add the following

      # enable color support of ls and also add handy aliases
      if [ -x /usr/bin/dircolors ]; then
          test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
          [ -e "$HOME/.dircolors" ] && DIR_COLORS="$HOME/.dircolors"
          [ -e "$DIR_COLORS" ] || DIR_COLORS=""
              eval "`dircolors -b $DIR_COLORS`"
              alias ls='ls --color=auto' 
              alias grep='grep --color=auto'
              alias fgrep='fgrep --color=auto'
              alias egrep='egrep --color=auto'
      fi
      
    4. run source ~/.bashrc

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two folders, for arguments sake /Volumes/A and /Volumes/B. They are mounted network
Task: I have a camera mounted on the end of our assembly line, which
I have a control which is mounted within a form. I need to implement
I have a share (on Machine-A) mounted via sshfs on Machine-B. From Machine-C, I
I have the following script to check if a NFS mount is currently mounted
I want to have a bare git repository stored on a (windows) network share.
I develop on both mac and linux and have one network mounted home directory
I have a pyinotify instance watching a mounted network drive (mounted with CIFS) for
I have an NFS-mounted directory on a Linux machine that has hung. I've tried
I have Rails application with mounted Engine. #{main_app}/config/routes.rb mount CommentIt::Engine => /talk, :as =>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.