[OT] bash redirection

Nick Dempelis dempelis at ceid.upatras.gr
Tue Mar 23 20:15:23 EET 2004


exw ena bash shell script to opoio xontrika kanei:
echo 'mpe'
a.out

opou a.out einai ena programma pou tipwnei sto stdout.

sto linux ola douleuoun kanonika
alla se SunOS 5.7 (4x sparc CPUS)
to redirection den douleuei
px. shellscript > xxx.txt
to xxx.txt periexei mono to output tou echo (diladi mpe)
episis oute to | douleuei px. se commands tis morfis
shellscript | tee mpa.txt
epipleon oute sto nohup.out periexei auto pou 8elw (kai to mpe kai tin 
e3odo tou a.out) otan trexw nohup shellscript

Exei sinantisei kanei paromoia simperifora? Yparxei lisi?

euxaristw





More information about the Linux-greek-users mailing list