in reply to
Re^4: save output of program in another file
in thread save output of program in another file
Some one told me I could redirect the output in the terminal.
To underscore what choroba said:
$ ./myscript.pl > somefile.txt # create new/overwrite file
# ./myscript.pl >> somefile.txt # append to a file
# ./myscript.pl 2>&1 > somefile.txt # stdout and stderr to a file
# ./myscript.pl | less # stdout to stdin of a program
I'm using linux-well ubuntu really
Ubuntu is a distribution of Linux from the Debian family of Linux distros.
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg