Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Bedienungsanleitung Seite 250

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 300
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 249
238 You Are Here
Figure 16.12: Redirecting the output to a le
Notice the difference (see Figure 16.12)? For one thing, there are no double entries. Thats because the
standard output from cat was redirected. That redirection was to a brand new le you made called
sneakers.txt.
You can nd the le in your login directory (may we suggest using ls if you want to see it listed?).
You can even use cat to read the le, by typing:
cat sneakers.txt
at the prompt.
Tip: Be careful when you redirect the output to a le, because you can easily overwrite
an existing le! Make sure the name of the le youre creating doesnt match the name
of a pre-existing le, unless you want to replace it.
Lets use output redirection for another le and call it home.txt.
[billy@localhost billy]$ cat > home.txt
bring the coffee home
Seitenansicht 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 299 300

Kommentare zu diesen Handbüchern

Keine Kommentare