Carl-Christian Sautter | 04. December 2017 |   Ubuntu Debian Linux Administration

Coloured terminal over ssh

If you want the commands ls, ll or l to be colorized you have to edit the file ~/.bashrc as follows.

Open the file ~/.bashrc in any editor

[Translate to Englisch:] nano ~/.bashrc
# oder
vi ~/.bashrc

Adjust the file ~/.bashrc

# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'

Comments are disabled for this post.