Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Bedienungsanleitung Seite 242

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 300
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 241
230 You Are Here
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
Its a pretty short le. Those hash marks (#) are comments. Any text after them is ignored by the
shell, but they are put there to help guide anyone whos editing or modifying les.
Bring your cursor under the line #User specific aliases and functions and type:
alias ls="ls -al --color"
So the full le ought to look something like this:
# .bashrc
# User specific aliases and functions
alias ls="ls -al --color"
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
See Figure 16.8 for an example in Pico.
Double-check for any typos then, when youre satised with the changes, exit by pressing the
Ctrl
and
X keys. Youll see, at the bottom of your editor screen, a message reading:
Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES)?
Press
Y for yes. Now, another message will appear at the bottom:
File Name to write: .bashrc
Seitenansicht 241
1 2 ... 237 238 239 240 241 242 243 244 245 246 247 ... 299 300

Kommentare zu diesen Handbüchern

Keine Kommentare