[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu, 20 Oct 2005 15:08:01 -0400 -->
- <!--x-from-r13: rfbgrevp ng 3gvzrf25.arg (Urbsserl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] cron mail, how to STOP it. -->
- <li><em>date</em>: Thu, 20 Oct 2005 15:08:01 -0400</li>
- <li><em>from</em>: esoteric at 3times25.net (Geoffrey)</li>
- <li><em>in-reply-to</em>: <<a href="msg00417.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00357.html">[email protected]</a>> <<a href="msg00383.html">[email protected]</a>> <<a href="msg00414.html">[email protected]</a>> <<a href="msg00417.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] cron mail, how to STOP it.</li>
'>/dev/null' redirects standard output to /dev/null. (the 1 is assumed)
so '1>/dev/null' is the same as '>/dev/null'
2>&1 redirects standard error to standard out.
Thus everything goes to the bit bucket.
1 is standard out
2 is standard error
0 is standard in
You can create additional file descriptors as follows:
exec 3>/tmp/output
date >&3 # writes the date to /tmp/output
so '1>/dev/null' is the same as '>/dev/null'
--
Until later, Geoffrey
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00421" href="msg00421.html">[ale] cron mail, how to STOP it.</a></strong>
<ul><li><em>From:</em> paul_tbot at pcartwright.com (Paul Cartwright)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00357" href="msg00357.html">[ale] cron mail, how to STOP it.</a></strong>
<ul><li><em>From:</em> paul_tbot at pcartwright.com (Paul Cartwright)</li></ul></li>
<li><strong><a name="00383" href="msg00383.html">[ale] cron mail, how to STOP it.</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00414" href="msg00414.html">[ale] cron mail, how to STOP it.</a></strong>
<ul><li><em>From:</em> erudite.hacker at gmail.com (Cliff Free)</li></ul></li>
<li><strong><a name="00417" href="msg00417.html">[ale] cron mail, how to STOP it.</a></strong>
<ul><li><em>From:</em> paul_tbot at pcartwright.com (Paul Cartwright)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00419.html">[ale] cron mail, how to STOP it.</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00421.html">[ale] cron mail, how to STOP it.</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00419.html">[ale] cron mail, how to STOP it.</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00421.html">[ale] cron mail, how to STOP it.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00420"><strong>Date</strong></a></li>
<li><a href="threads.html#00420"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>