pushd

 

Get help on Linux pushd Command.

 

   Linux pushd command is use to add directory to stack on Linux system.  The Linux pushd command is one of bash shell built in command.  The command example below show how to get pushd command manual or help on Linux pushd command using shell command, this help show information on how to use the Linux pushd command, the pushd command options and the arguments that can be use with Linux pushd command.

 

Get Linux pushd command help

 

  Execute help command and the name of Linux command that we want the help file, the example below we execute help command with -m option to get the help for pushd command using the manpage format.

pushd linux command

[linux@fedora11 ~]$ help -m pushd

NAME

    pushd - Add directories to stack.

 

SYNOPSIS

    pushd [-n] [+N | -N | dir]

 

DESCRIPTION

    Add directories to stack.

 

    Adds a directory to the top of the directory stack, or rotates

    the stack, making the new top of the stack the current working

    directory.  With no arguments, exchanges the top two directories.

 

    Options:

      -n        Suppresses the normal change of directory when adding

        directories to the stack, so only the stack is manipulated.

 

    Arguments:

      +N        Rotates the stack so that the Nth directory (counting

        from the left of the list shown by `dirs', starting with

        zero) is at the top.

 

      -N        Rotates the stack so that the Nth directory (counting

        from the right of the list shown by `dirs', starting with

        zero) is at the top.

 

      dir       Adds DIR to the directory stack at the top, making it the

        new current working directory.

 

    The `dirs' builtin displays the directory stack.

 

    Exit Status:

    Returns success unless an invalid argument is supplied or the directory

    change fails.

 

SEE ALSO

    bash(1)

 

IMPLEMENTATION

    GNU bash, version 4.0.16(1)-release (i386-redhat-linux-gnu)

    Copyright (C) 2009 Free Software Foundation, Inc.

    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

 

[linux@fedora11 ~]$

 

Keywords: pushd, pushd command, linux pushd command, pushd linux command, linux command pushd, pushd command manual, pushd manual, pushd help, help pushd, command pushd help, help pushd command