| 04.12.2017 | Ubuntu Debian Linux Administration
Farbige Konsole bei SSH Zugriff
Damit in einer SSH Session die Befehle ls, ll und l farbig ausgegeben werden muss man die Datei ~/.bashrc wie folgt anpassen.
Die Datei ~/.bashrc in einem Editor öffnen
nano ~/.bashrc
# oder
vi ~/.bashrc
Anpassen von ~/.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.
0 comments