Standard input, Standard Output, Standard Error

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

3+ filename

Other files

2> file

redirect stderr to overwrite a file

>> file2>&1 and/or &>> file

redirect stdout and stderr to append to the same file

> file2>&1 and/or &> file

redirect stdout and stderr to overwrite the same file

>> file

redirect stdout to append to a file

> file

Redirect stdout to overwrite a file

0 stdin

Standard Input (Keyboard)

2 stderr

Standard error (Terminal)

1 stdout

Standard output (Terminal)

|

called a pipe, this connects the standard output of the first command to the input of the second command

tee

copies standard input to its standard output and also redirects its standard output to the files named as arguments to the command

2> dev/null

discard stderr error messages by redirecting to dev/null


Ensembles d'études connexes

Chapter 2: Theory, Research, and Evidence-Informed Practice

View Set

MGMT-Leadership: Midterm Chapters 1-7

View Set

Chapter 10: The Appendicular Skeleton Pre-Lab Quiz

View Set

The Imperative -AR Verbs (Commands) If familiar with person use the 3rd person singular

View Set

German I - Forms of "sein", "haben", & "werden"

View Set

Unit 5 - Maternity PreU from Ricci: Essentials of Maternity, Newborn, and Women's Health Nursing, Fifth Edition

View Set