Homework3

Homework3 - Rupa Ganjewar CS32 3102613 Homework3...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Rupa Ganjewar CS32 3102613 Homework3 [[email protected] cs32]$ ls -l redirect.sh -rwxr--r-- 1 ganjewar grad 261 Apr 11 11:42 redirect.sh Hello STDOUT! Hello Again STDOUT! Hey There STDERR! [[email protected] cs32]$ ./redirect.sh 1>outfile.txt Hey There STDERR! [[email protected] cs32]$ cat outfile.txt Hello STDOUT! Hello Again STDOUT! [[email protected] cs32]$ ./redirect.sh 2>errfile.txt Hello STDOUT! Hello Again STDOUT! [[email protected] cs32]$ cat errfile.txt Hey There STDERR! [[email protected] cs32]$ ./redirect.sh 1>outfile.txt 2>errfile.txt [[email protected] cs32]$ cat outfile.txt Hello STDOUT! Hello Again STDOUT! [[email protected] cs32]$ cat errfile.txt Hey There STDERR! [[email protected] cs32]$ ./redirect.sh 1>errfile.txt 2>>errfile.txt [[email protected] cs32]$ cat errfile.txt Hello STDOUT! Hello Again STDOUT! Hey There STDERR! [[email protected] cs32]$ ./redirect.sh 1>errfile.txt 2>errfile.txt [[email protected] cs32]$ cat errfile.txt
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Hey There STDERR! o Again STDOUT!
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/21/2010 for the course CS CS32 taught by Professor Krintz during the Spring '10 term at UCSB.

Page1 / 3

Homework3 - Rupa Ganjewar CS32 3102613 Homework3...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online