Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bash Einstellung

Empfohlene Antworten

Hallo,

ich hätte gern, dass mir die Bash bei Solaris die Verzeichnisse und Executables in anderen Farben anzeigt, wie bei Linux. Ich hab das auch schon mal gesehen, dass es geht. Hab aber in den Manpages nichts gefunden.

Danke schon mal

Sumpfbiber

Man kann im File .bashrc im Home-Verzeichnis folgende Zeilen hinzufügen:

BOLD="\[\\033[1;39m\]"

RED="\[\\033[0;31m\]"

BLUE="\[\\033[0;34m\]"

WHITE="\[\\033[0;39m\]"

PS1="$BOLD[$RED\u$WHITE@$RED\h$BLUE \W$BOLD]$WHITE\\$ "

unset BOLD; unset RED; unset BLUE; unset WHITE

Nach einem Neustart des Kommandointerpreters (einfach bash eingeben) sollte die Shell farbig erscheinen.

http://www.linuxfibel.de/scripts.htm hilft dir weiter (habe bloß unter suse getestet)

Danke, aber das hab ich nicht gemeint.

Ich meinte, wenn ich einen ls mache, dass dan die Verzeichnisse andersfarbig gelistet werden wie normale files.

Sumpfbiber

mache als root

ls -al --color /etc

sichere aber vorher deine .bashrc

die Zeile "# User specific aliases and functions" suche

in abändern alias ls="ls -al --color"

abspeichern und testen. finde heraus mit ls --version welche version du hast. gucke dir das noch http://www.linux-user.de/ausgabe/2001/12/092-zubefehl/ls-3.html

den flag --color kennt Solaris nicht. Das ist ja das Problem Er heisst auch nicht anders, sondern ist nicht vorhanden

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.