Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION User Manual Page 250

  • Download
  • Add to my manuals
  • Print
  • Page
    / 300
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 299 300

Comments to this Manuals

No comments