Search: in
Pushd and popd
Pushd and popd in Encyclopedia Encyclopedia
  Tutorials     Encyclopedia     Videos     Books     Software     DVDs  
       
Encyclopedia results for Pushd and popd

Pushd and popd





Encyclopedia results for Pushd and popd

  1. Pushd and popd

    No footnotes date March 2010 lowercase In computing , code pushd code and code popd code are command computing commands in various Unix , DOS and Microsoft Windows command line interpreter s Shell computing shells such as Bash Unix shell Bash , code cmd.exe code , 4DOS 4NT and Windows PowerShell . Both commands are used to work with the command line interface command line directory stack data structure stack . The code pushd code command saves the current working directory in memory so it can be returned to at any time, optionally changing to a new directory. The code popd code command returns to the path computing path at the top of the directory stack. In the Windows PowerShell , pushd is a predefined Alias command command alias for the code Push Location code Windows PowerShell Cmdlets Cmdlet and popd is a predefined command alias for the code Pop Location code Cmdlet. Both serve basically the same purpose as the Unix like code pushd code and code popd code commands. Syntax pushd pushd path .. Arguments code path code This optional command line argument specifies the directory to make the current directory. If code path code is omitted, the path at the top of the directory stack is used. popd popd Examples Unix source lang bash usr ports pushd etc etc usr ports etc popd usr ports usr ports source MS DOS source lang dos C Users root pushd C popd C Users root source See also List of DOS commands List of Unix programs References http technet.microsoft.com en us library bb490978.aspx Microsoft TechNet Pushd article http technet.microsoft.com en us library bb490969.aspx Microsoft TechNet Popd article http ftp.gnu.org old gnu Manuals bash 2.05a html node bashref 73.html Bash Reference Manual Directory Stack Builtins reflist Unix commands Windows commands Category DOS on IBM PC compatibles Category Microcomputer software Category Windows administration Category Computing commands unix stub windows stub ...   more details



  1. Pwd

    Other uses PWD disambiguation lowercase In Unix like and some other operating system s, the tt pwd tt command computing command p rint w orking d irectory is used to output the path computing path of the current working directory . The command is a shell builtin in certain Unix shell s such as Bourne shell sh , and Bourne Again shell bash . It can be implemented easily with the POSIX C programming language C functions tt getcwd tt and or tt getwd tt . The equivalent on DOS code COMMAND.COM code and Microsoft Windows tt cmd.exe tt is the tt cd command cd tt command with no arguments. Windows PowerShell provides the equivalent tt Get Location tt cmdlet with the standard aliases tt gl tt and tt pwd tt . The OpenVMS equivalent is tt show default tt . Example If the following is input into a terminal source lang bash pwd home foobar source and the computer prints out tt home foobar tt , that means that the directory the user is currently in is tt home foobar tt . In the following example, the user is located in the directory tt usr local bin tt , uses the command tt pwd tt , uses the command tt cd command cd .. tt to move back to the parent directory and then uses tt pwd tt again source lang bash pwd usr local bin cd .. pwd usr local source See also Breadcrumb navigation , an alternative way of displaying the work directory List of Unix programs pushd and popd tt pushd tt and tt popd tt References man cu pwd SUS return working directory name unix commands Category Unix SUS2008 utilities cs Pwd de Pwd Unix el Pwd es Pwd fa Pwd fr Pwd ko Pwd is Pwd it Pwd Unix ka Pwd hu Pwd mk Pwd nl Pwd Unix ja Pwd pl Pwd pt Pwd ro Pwd ru Pwd sv Pwd uk Pwd vi Pwd zh Pwd ...   more details



  1. Folder (computing)

    chroot dir command mkdir pushd and popd col end References Reflist External links Commons category ...   more details



  1. Batch file

    will default to C windows system32 In Windows 2000 XP Vista 7, a workaround is to use the PUSHD and POPD command with command extensions. Quoting the help for PUSHD in Windows 7, If Command Extensions are enabled the PUSHD command accepts network paths in addition to the normal drive letter and path. If a network path is specified, PUSHD will create a temporary drive letter that points to that specified ... can be constructed that looks like this source lang dos Target COMSPEC E ON C PUSHD SERVER SHARE DIR1 DIR2 & BATCHFILE.BAT & POPD source The working directory attribute of this shortcut is ignored ...   more details



  1. Windows PowerShell

    popd pushd and popd popd popd Change the current directory to the directory most recently pushed onto the stack Push Location pushd pushd and popd pushd pushd Push the current directory onto the stack ...   more details



  1. Cd (command)

    for legacy commands which still run in a separate process. See also Directory structure pushd and popd chroot References more footnotes date February 2011 General references refbegin http technet.microsoft.com ...   more details



  1. Comparison of command shells

    size smaller Command line completion Completion Directory file systems Directory stack pushd popd Directory ...   more details



  1. Michael A. Jackson

    method, and was described in his book Principles of Program Design . ref name PoPD Jackson, M. A. 1975 ...   more details



  1. Jackson structured programming

    this difference in Chapter 3 of Principles of Program Design . ref name PoPD He presents two ...   more details




Articles 1 - 9 of 9         


Search   in  
Search for Pushd and popd in Tutorials
Search for Pushd and popd in Encyclopedia
Search for Pushd and popd in Videos
Search for Pushd and popd in Books
Search for Pushd and popd in Software
Search for Pushd and popd in DVDs
Search for Pushd and popd in Store


Advertisement




Pushd and popd in Encyclopedia
Pushd and popd top Pushd and popd

Home - Add TutorGig to Your Site - Disclaimer

©2011-2013 TutorGig.info All Rights Reserved. Privacy Statement