<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Pushd_and_popd</id>
		<title>Pushd and popd - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Pushd_and_popd"/>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Pushd_and_popd&amp;action=history"/>
		<updated>2026-04-30T13:47:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Pushd_and_popd&amp;diff=5197&amp;oldid=prev</id>
		<title>Christoph: New page: '''&lt;code&gt;pushd&lt;/code&gt;''' and '''&lt;code&gt;popd&lt;/code&gt;''' are command line tools used to work with the command line directory stack.  The '''&lt;code&gt;pushd&lt;/...</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Pushd_and_popd&amp;diff=5197&amp;oldid=prev"/>
				<updated>2008-11-06T23:01:13Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;pushd&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;popd&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; are &lt;a href=&quot;/index.php?title=Category:Linux_Command_Line_Tools&quot; title=&quot;Category:Linux Command Line Tools&quot;&gt;command line tools&lt;/a&gt; used to work with the command line directory stack.  The &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;pushd&amp;lt;/...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''&amp;lt;code&amp;gt;pushd&amp;lt;/code&amp;gt;''' and '''&amp;lt;code&amp;gt;popd&amp;lt;/code&amp;gt;''' are [[:Category:Linux Command Line Tools|command line tools]] used to work with the command line directory stack.&lt;br /&gt;
&lt;br /&gt;
The '''&amp;lt;code&amp;gt;pushd&amp;lt;/code&amp;gt;''' command saves the current working directory in memory so it can be returned to at any time, optionally changing to a new directory. The '''&amp;lt;code&amp;gt;popd&amp;lt;/code&amp;gt;''' command returns to the path at the top of the directory stack.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
===pushd===&lt;br /&gt;
 pushd [path | ..]&lt;br /&gt;
&lt;br /&gt;
Arguments:&lt;br /&gt;
*'''&amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt;''' This command-line argument specifies the directory to make the current directory.&lt;br /&gt;
&lt;br /&gt;
===popd===&lt;br /&gt;
 popd&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
 pushd .  # save current working directory (e.g., /home/)&lt;br /&gt;
 cd /tmp  # change to some other directory&lt;br /&gt;
 popd     # change back to previous dir (e.g., /home/)&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://ftp.gnu.org/old-gnu/Manuals/bash-2.05a/html_node/bashref_73.html Bash Reference Manual: Directory Stack Builtins]&lt;br /&gt;
&lt;br /&gt;
{{Linux commands}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Command Line Tools]]&lt;/div&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	</feed>