Jump to content

Redirection: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 July 2025

  • curprev 15:3715:37, 4 July 2025 Princesssquishuskush talk contribs 819 bytes +819 Created page with "== General == * 0 = stdin * 1 = stdout * 2 = stderr * Each of these can be redirected independently * To redirect stderr, preface the > with the number of the file descriptor to redirect> This is often used to discard error info from appearing on the screen ** since stderr is on file descriptor 2, use 2> * Redirect stdout and stderr to different files ** kill iHUP 1234 >killout.txt 2>killerr.txt ** I am guessing that 1 is the default so you don't see 1> * Redirect stdout..."