<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Null_device</id>
	<title>Null device - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Null_device"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Null_device&amp;action=history"/>
	<updated>2026-05-15T01:40:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Null_device&amp;diff=4668378&amp;oldid=prev</id>
		<title>imported&gt;WikiCleanerBot: v2.05b - Bot T12 CW#548 - Fix errors for CW project (Punctuation in link)</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Null_device&amp;diff=4668378&amp;oldid=prev"/>
		<updated>2025-12-05T05:14:48Z</updated>

		<summary type="html">&lt;p&gt;v2.05b - &lt;a href=&quot;/wiki143/index.php?title=User:WikiCleanerBot&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:WikiCleanerBot (page does not exist)&quot;&gt;Bot T12 CW#548&lt;/a&gt; - Fix errors for &lt;a href=&quot;/wiki143/index.php?title=WP:WCW&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:WCW (page does not exist)&quot;&gt;CW project&lt;/a&gt; (Punctuation in link)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Previous revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:14, 5 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt; device is a [[Device file#Character devices|special file]], not a [[directory (file systems)|directory]], so one cannot move a whole file or directory into it with the Unix &amp;lt;code&amp;gt;[[mv (Unix)|mv]]&amp;lt;/code&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt; device is a [[Device file#Character devices|special file]], not a [[directory (file systems)|directory]], so one cannot move a whole file or directory into it with the Unix &amp;lt;code&amp;gt;[[mv (Unix)|mv]]&amp;lt;/code&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;[[cat (command)|cat]] /dev/null&amp;lt;/code&amp;gt; may be replaced with &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References in computer culture ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== References in computer culture ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;WikiCleanerBot</name></author>
	</entry>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Null_device&amp;diff=197205&amp;oldid=prev</id>
		<title>imported&gt;Peaceray: /* See also */ Put in asciibetical order ignoring case; also {{columns-list| ... }}</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Null_device&amp;diff=197205&amp;oldid=prev"/>
		<updated>2025-03-02T19:05:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;See also: &lt;/span&gt; Put in &lt;a href=&quot;/wiki143/index.php?title=Asciibetical_order&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Asciibetical order (page does not exist)&quot;&gt;asciibetical order&lt;/a&gt; ignoring case; also {{columns-list| ... }}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Device file that discards all data written to it}}&lt;br /&gt;
{{For|the electropop band|Null Device}}&lt;br /&gt;
{{Confuse|/dev/zero}}&lt;br /&gt;
{{Use dmy dates|date=February 2020|cs1-dates=y}}&lt;br /&gt;
&lt;br /&gt;
In some [[operating system]]s, the &amp;#039;&amp;#039;&amp;#039;null device&amp;#039;&amp;#039;&amp;#039; is a [[device file]] that discards all data written to it but reports that the write operation succeeded. This device is called &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt; on [[Unix]] and [[Unix-like]] systems, &amp;lt;code&amp;gt;NUL:&amp;lt;/code&amp;gt; (see [[TOPS-20]]) or &amp;lt;code&amp;gt;NUL&amp;lt;/code&amp;gt; on [[CP/M]] and [[DOS]] (internally &amp;lt;code&amp;gt;\DEV\NUL&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;nul&amp;lt;/code&amp;gt; on [[OS/2]] and newer [[Windows]] systems&amp;lt;ref&amp;gt;{{Cite web|url=https://support.microsoft.com/en-us/help/110930/redirecting-error-messages-from-command-prompt-stderr-stdout|title=Redirecting Error Messages from Command Prompt: STDERR/STDOUT|website=support.microsoft.com|access-date=2020-03-06}}&amp;lt;/ref&amp;gt; (internally &amp;lt;code&amp;gt;\Device\Null&amp;lt;/code&amp;gt; on [[Windows NT]]), &amp;lt;code&amp;gt;NIL:&amp;lt;/code&amp;gt; on [[Amiga]] operating systems,&amp;lt;ref&amp;gt;{{cite book |author=Commodore-Amiga, Inc. |title=The AmigaDOS Manual |date=1986 |publisher=Bantam Books |isbn=0-553-34294-0 |page=12 |url=https://archive.org/details/TheAmigaDOSUsersManual3In1Manual/page/n17/mode/2up }}&amp;lt;/ref&amp;gt; and &amp;lt;code&amp;gt;NL:&amp;lt;/code&amp;gt; on [[OpenVMS]].&amp;lt;ref&amp;gt;{{Cite web|url=http://h30266.www3.hpe.com/odl/vax/opsys/vmsos73/vmsos73/5841/5841pro_064.html|title=OpenVMS Programming Concepts Manual|website=h30266.www3.hpe.com|access-date=2020-03-06|archive-date=2020-07-02 |archive-url=https://web.archive.org/web/20200702065120/http://h30266.www3.hpe.com/odl/vax/opsys/vmsos73/vmsos73/5841/5841pro_064.html|url-status=dead}}&amp;lt;/ref&amp;gt; In [[Windows Powershell]], the equivalent is &amp;lt;code&amp;gt;$null&amp;lt;/code&amp;gt;.&amp;lt;ref&amp;gt;{{Cite web|url=https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables|title=about_Automatic_Variables - PowerShell|last=SteveL-MSFT|website=docs.microsoft.com|language=en-us|access-date=2020-03-06}}&amp;lt;/ref&amp;gt; It provides no data to any [[process (computing)|process]] that reads from it, yielding [[end-of-file|EOF]] immediately.&amp;lt;ref name=&amp;quot;uxman&amp;quot;&amp;gt;{{cite web|url=http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap10.html |title=Single Unix Specification Section 10.1: Directory Structure and Files |publisher=The Open Group |access-date=2012-11-29}}&amp;lt;/ref&amp;gt; In IBM operating systems  [[DOS/360 and successors]]{{efn|The most recent being [[z/VSE]].}} and also in [[OS/360 and successors]]{{efn|The most recent being [[z/OS]].}} such files would be assigned in [[job control language|JCL]] to &amp;lt;code&amp;gt;DD DUMMY&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In programmer jargon, especially Unix jargon, it may also be called the [[bit bucket]]&amp;lt;ref&amp;gt;{{cite web|title=bit bucket|url=http://catb.org/esr/jargon/html/B/bit-bucket.html|work=Jargon File|access-date=2013-12-27}}&amp;lt;/ref&amp;gt; or [[Black hole (networking)|black hole]].&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
{{mono|/dev/null}} is described as an empty regular file in [[Version 4 Unix]].&amp;lt;ref&amp;gt;{{cite book |last1=Thompson |first1=K. |last2=Ritchie |first2=D. M. |author-link1=Ken Thompson |author-link2=Dennis Ritchie |date=November 1973 |title=UNIX Programmer&amp;#039;s Manual, Fourth Edition |url=http://ftp.okass.net/pub/mirror/minnie.tuhs.org/Distributions/Research/Dennis_v4/v4man.tar.gz |publisher=Bell Telephone Laboratories, Inc. |no-pp=yes |page=sh (I) (./man1/sh.1)}} [//minnie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man1/sh.1 Online at TUHS.]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Version 5 Unix]] manual describes a {{mono|/dev/null}} device with modern semantics.&amp;lt;ref&amp;gt;{{cite book |last1=Thompson |first1=K. |last2=Ritchie |first2=D. M. |author-link1=Ken Thompson |author-link2=Dennis Ritchie |date=June 1974 |title=UNIX Programmer&amp;#039;s Manual, Fifth Edition |url=http://ftp.okass.net/pub/mirror/minnie.tuhs.org/Distributions/Research/Dennis_v5/v5man.pdf#page=218 |publisher=Bell Telephone Laboratories, Incorporated |no-pp=yes |page=mem (IV)}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
The null device is typically used for disposing of unwanted output [[stream (computing)|stream]]s of a process, or as a convenient empty [[computer file|file]] for input streams. This is usually done by [[Redirection (computing)|redirection]]. For example, &amp;lt;code&amp;gt;tar -c -f /dev/null &amp;quot;example directory&amp;quot;&amp;lt;/code&amp;gt; can be used to dry-run the [[tar (computing)|TAR file archiving utility]] to see if any errors would occur but without writing any file.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt; device is a [[Device file#Character devices|special file]], not a [[directory (file systems)|directory]], so one cannot move a whole file or directory into it with the Unix &amp;lt;code&amp;gt;[[mv (Unix)|mv]]&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
== References in computer culture ==&lt;br /&gt;
This entity is a common inspiration for technical [[jargon]] expressions and [[metaphor]]s by Unix programmers, e.g. &amp;quot;please send complaints to &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt;&amp;quot;, &amp;quot;my mail got archived in &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt;&amp;quot;, and &amp;quot;redirect to &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt;&amp;quot;—being jocular ways of saying, respectively: &amp;quot;don&amp;#039;t bother sending complaints&amp;quot;, &amp;quot;my mail was deleted&amp;quot;, and &amp;quot;go away&amp;quot;. The [[iPhone Dev Team]] commonly uses the phrase &amp;quot;send donations to &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt;&amp;quot;, meaning they do not accept donations.&amp;lt;ref&amp;gt;{{Cite web|url=http://blog.iphone-dev.org/post/41744653/donations-to-devnull|title=Dev-Team Blog - Donations to /dev/null|date=2015-09-07|access-date=2018-11-15|archive-url=https://web.archive.org/web/20150907154408/http://blog.iphone-dev.org/post/41744653/donations-to-devnull|archive-date=2015-09-07}}&amp;lt;/ref&amp;gt; The fictitious person name &amp;quot;Dave (or Devin) Null&amp;quot; is sometimes similarly used (e.g., &amp;quot;send complaints to Dave Null&amp;quot;).&amp;lt;ref name=&amp;quot;Goodman 2004 p. 170&amp;quot;&amp;gt;{{cite book |last=Goodman |first=Danny |title=Spam Wars: Our Last Best Chance to Defeat Spammers, Scammers, and Hackers |publisher=SelectBooks |location=New York |year=2004 |url={{Google books|kUp6p5P8wao|page=170|plainurl=yes}} |isbn=9781590790632 |oclc=1036874851 |page=170}}&amp;lt;/ref&amp;gt; In 1996, [[Dev Null]] was an animated [[virtual reality]] character created by [[Leo Laporte]] for MSNBC&amp;#039;s computer and technology TV series &amp;#039;&amp;#039;[[The Site]]&amp;#039;&amp;#039;. Dev/null is also the name of a vampire hacker in the computer game [[Vampire: The Masquerade – Redemption]]. A 2002 advertisement for the Titanium [[PowerBook G4]] reads &amp;quot;Sends other UNIX boxes to /dev/null.&amp;quot;&amp;lt;ref name=&amp;quot;macnn&amp;quot;&amp;gt;{{cite web|url=http://www4.macnn.com/macnn/articles/unixad.jpg |title=Image: unixad.jpg, (1094 × 720 px) |access-date=2015-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20130326010431/http://www4.macnn.com/macnn/articles/unixad.jpg |archive-date=March 26, 2013 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The null device is also a favorite subject of technical jokes,&amp;lt;ref&amp;gt;{{cite web|url=http://docs.freebsd.org/doc/6.1-RELEASE/usr/share/doc/faq/funnies.html#DEV-NULL |title=The FreeBSD Funnies |publisher=Freebsd.org |access-date=2012-11-28}}&amp;lt;/ref&amp;gt; such as warning users that the system&amp;#039;s &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt; is already 98% full. The 1995 [[April Fools&amp;#039; Day|April Fool&amp;#039;s]] issue of the [[Germany|German]] magazine &amp;#039;&amp;#039;[[c&amp;#039;t]]&amp;#039;&amp;#039; reported on an enhanced &amp;lt;code&amp;gt;/dev/null&amp;lt;/code&amp;gt; [[integrated circuit|chip]] that would [[entropy|efficiently dispose]] of the incoming data by converting it to a flicker on an internal glowing [[light-emitting diode|LED]].&lt;br /&gt;
&lt;br /&gt;
Dev/Null is also the name of an electronic dance music producer and jungle DJ.&amp;lt;ref&amp;gt;{{Cite magazine |title=Dev Null Microjunglizm |url=https://www.newyorker.com/goings-on-about-town/night-life/devnull-microjunglizm |access-date=2024-01-24 |magazine=The New Yorker |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{columns-list|&lt;br /&gt;
* {{mono|[[:/dev/full]]}}&lt;br /&gt;
* {{mono|[[:/dev/zero]]}}&lt;br /&gt;
* [[Device file]]&lt;br /&gt;
* [[Filesystem Hierarchy Standard]]&lt;br /&gt;
* [[Memory hole]]&lt;br /&gt;
* [[rm (Unix)|{{mono|rm}} (Unix)]]&lt;br /&gt;
* [[Standard streams]]&lt;br /&gt;
* [[Unix philosophy]]&lt;br /&gt;
* [[Write-only memory (engineering)|Write-only memory]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{Notelist}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist|60em}}&lt;br /&gt;
&lt;br /&gt;
{{nulls}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CP/M technology]]&lt;br /&gt;
[[Category:Unix file system technology]]&lt;br /&gt;
[[Category:Device file]]&lt;br /&gt;
[[Category:Computer humour]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Peaceray</name></author>
	</entry>
</feed>