Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Manual de usuario Pagina 250

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 300
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 299 300

Comentarios a estos manuales

Sin comentarios