Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

If your Terminal has a dark background, the default shell colors can be hard to read. Execute this line to display directory names in yellow.

Code Block
languagebash
export LS_COLORS=$LS_COLORS:'di=1;33:fi=01:ln=01;36'

In the RStudio Terminal, yellow is the default color for directories, which can be difficult to see against its white background. Execute this line to display directory names in blue.

Code Block
languagebash
export LS_COLORS=$LS_COLORS:'di=1;34:fi=01:ln=01;36:'

We'll see later how to set this environment variable in You can use nano ~/.profile to edit your login script (~/.profile) so that it so this gets executed every time you login to this server.

For But for now, just copy the appropriate line above, paste it into your Terminal window (after logging on), then press Enter.

...