
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=bash_testing_variables_for_negative_numbers_or_values</id>
		<title>bash testing variables for negative numbers or values - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=bash_testing_variables_for_negative_numbers_or_values"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=bash_testing_variables_for_negative_numbers_or_values&amp;action=history"/>
		<updated>2026-04-29T02:42:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=bash_testing_variables_for_negative_numbers_or_values&amp;diff=850&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;use test then check its exit value ($? = exit value of the previous command)   $ test -4 -lt 0; echo $?;  0  $ test 4 -lt 0; echo $?;  1  category:bash category:scripting&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=bash_testing_variables_for_negative_numbers_or_values&amp;diff=850&amp;oldid=prev"/>
				<updated>2014-07-10T21:55:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;use test then check its exit value ($? = exit value of the previous command)   $ test -4 -lt 0; echo $?;  0  $ test 4 -lt 0; echo $?;  1  &lt;a href=&quot;/index.php?title=Category:bash&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:bash (page does not exist)&quot;&gt;category:bash&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:scripting&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:scripting (page does not exist)&quot;&gt;category:scripting&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;use test then check its exit value ($? = exit value of the previous command)&lt;br /&gt;
&lt;br /&gt;
 $ test -4 -lt 0; echo $?;&lt;br /&gt;
 0&lt;br /&gt;
 $ test 4 -lt 0; echo $?;&lt;br /&gt;
 1&lt;br /&gt;
&lt;br /&gt;
[[category:bash]]&lt;br /&gt;
[[category:scripting]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>