<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.squishu.org/index.php?action=history&amp;feed=atom&amp;title=Redirection</id>
	<title>Redirection - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.squishu.org/index.php?action=history&amp;feed=atom&amp;title=Redirection"/>
	<link rel="alternate" type="text/html" href="http://www.squishu.org/index.php?title=Redirection&amp;action=history"/>
	<updated>2026-04-16T16:33:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>http://www.squishu.org/index.php?title=Redirection&amp;diff=90&amp;oldid=prev</id>
		<title>Princesssquishuskush: Created page with &quot;== General == * 0 = stdin * 1 = stdout * 2 = stderr * Each of these can be redirected independently * To redirect stderr, preface the &gt; with the number of the file descriptor to redirect&gt; This is often used to discard error info from appearing on the screen ** since stderr is on file descriptor 2, use 2&gt; * Redirect stdout and stderr to different files ** kill iHUP 1234 &gt;killout.txt 2&gt;killerr.txt ** I am guessing that 1 is the default so you don&#039;t see 1&gt; * Redirect stdout...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.squishu.org/index.php?title=Redirection&amp;diff=90&amp;oldid=prev"/>
		<updated>2025-07-04T19:37:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== General == * 0 = stdin * 1 = stdout * 2 = stderr * Each of these can be redirected independently * To redirect stderr, preface the &amp;gt; with the number of the file descriptor to redirect&amp;gt; This is often used to discard error info from appearing on the screen ** since stderr is on file descriptor 2, use 2&amp;gt; * Redirect stdout and stderr to different files ** kill iHUP 1234 &amp;gt;killout.txt 2&amp;gt;killerr.txt ** I am guessing that 1 is the default so you don&amp;#039;t see 1&amp;gt; * Redirect stdout...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== General ==&lt;br /&gt;
* 0 = stdin&lt;br /&gt;
* 1 = stdout&lt;br /&gt;
* 2 = stderr&lt;br /&gt;
* Each of these can be redirected independently&lt;br /&gt;
* To redirect stderr, preface the &amp;gt; with the number of the file descriptor to redirect&amp;gt; This is often used to discard error info from appearing on the screen&lt;br /&gt;
** since stderr is on file descriptor 2, use 2&amp;gt;&lt;br /&gt;
* Redirect stdout and stderr to different files&lt;br /&gt;
** kill iHUP 1234 &amp;gt;killout.txt 2&amp;gt;killerr.txt&lt;br /&gt;
** I am guessing that 1 is the default so you don&amp;#039;t see 1&amp;gt;&lt;br /&gt;
* Redirect stdout and stderr to the same file&lt;br /&gt;
** kill -1 1234 &amp;gt;blah.txt 2&amp;gt;&amp;amp;1&lt;br /&gt;
*** Read it like this:  redirect stdout to the file blah.txt, then direct stderr to the same place as stdout&lt;br /&gt;
* Redirect all output, stdout and stderr, to /dev/null&lt;br /&gt;
** kill -1 1234 &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
* Redirecting input is kind of lame&lt;br /&gt;
** more &amp;lt; blah.txt&lt;br /&gt;
*** why not just do more blah.txt&lt;/div&gt;</summary>
		<author><name>Princesssquishuskush</name></author>
	</entry>
</feed>