[lug] backup error
Carl.Wagner at Level3.com
Carl.Wagner at Level3.com
Tue Oct 10 11:33:10 MDT 2000
File handles for every process (unless you change them and that is not a
normal user thing so you most likely haven't)
0 = STDIN (standard input) where input comes from (normally the keyboard)
1 = STDOUT (standard output) where output goes (normally the screen)
2 = STDERR (standard error) where error messages go (normally the screen)
so "1> [filename]" redirects stdout to the file.
and "2> [errorfile]" redirects stderr to the errorfile.
Carl.
JEFF PFOHL wrote:
>
> Date: Sat, 07 Oct 2000 16:53:54 -0600
> From: Deva Samartha <YTAFTDJAHCWS at spammotel.com>
>
> save the stderr output to a file and look thru there.
>
> like
> tar cvf /dve/ht0 . 1> /tmp/tar1.log 2> /tmp/tar2.log &
>
> Are you saying to do my backups by typing out this whole line?
>
> root> tar cvf /dev/ht0 . 1> /tmp/tar1.log 2> /tmp/tar2.log &
>
> I guess I just find that a strange syntax. What does "1" mean when you
> redirect it to /tmp/tar1.log?
>
> I did just do a:
>
> root> tar tvf >tape.dump
>
> and it looked ok. (ie it didn't end with any error message)
>
> Thanks again!
>
> --
> JEFF PFOHL
> E-MAIL: pfohl at sandia.gov
> PHONE : (505) 844-7033 work
> (505) 299-9516 home
> (505) 844-6729 fax
> http://nucalf.physics.fsu.edu/pfohl
>
> "My grandfather once told me that there are two kinds of people:
> Those who do the work and those who take the credit. He told me to
> try to be in the first group; there was much less competition."
>
> - Indira Ghandi, the late Prime Minister of India
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list