Unix Wiki
(Created page with '* <tt>cd</tt> Go to your $HOME <tt>directory</tt> * <tt>cd -</tt> Go to the previous directory. (like going back in history in a browser) * <tt>pushd ''directory''</tt> Store …')
 
No edit summary
 
Line 1: Line 1:
* <tt>cd</tt> Go to your $HOME <tt>directory</tt>
+
* <tt>cd</tt> :Go to your $HOME <tt>directory</tt>
* <tt>cd -</tt> Go to the previous directory. (like going back in history in a browser)
+
* <tt>cd -</tt> : (cd, space, and a dash) Go to the previous directory. (like going back in history in a browser)
* <tt>pushd ''directory''</tt> Store ''directory'' in a stack
+
* <tt>pushd ''directory''</tt> :Store ''directory'' in a stack
* <tt>popd</tt> Pop a directory from the stack
+
* <tt>popd</tt> :Pop a directory from the stack

Latest revision as of 12:44, 23 November 2009

  • cd :Go to your $HOME directory
  • cd - : (cd, space, and a dash) Go to the previous directory. (like going back in history in a browser)
  • pushd directory :Store directory in a stack
  • popd :Pop a directory from the stack