dirs

 

Get help on Linux dirs Command.

 

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

 

Get Linux dirs command help

 

  Execute help command and the name of Linux command that we want the help file, the example below we execute help command to get help for dirs command.

 

dirs linux command

[linux@fedora11 ~]$ help dirs

dirs: dirs [-clpv] [+N] [-N]

    Display directory stack.

 

    Display the list of currently remembered directories.  Directories

    find their way onto the list with the `pushd' command; you can get

    back up through the list with the `popd' command.

 

    Options:

      -c        clear the directory stack by deleting all of the elements

      -l        do not print tilde-prefixed versions of directories relative

        to your home directory

      -p        print the directory stack with one entry per line

      -v        print the directory stack with one entry per line prefixed

        with its position in the stack

 

    Arguments:

      +N        Displays the Nth entry counting from the left of the list shown by

        dirs when invoked without options, starting with zero.

 

      -N        Displays the Nth entry counting from the right of the list shown by

        dirs when invoked without options, starting with zero.

 

    Exit Status:

    Returns success unless an invalid option is supplied or an error occurs.

[linux@fedora11 ~]$

 

Keywords: dirs, dirs command, linux dirs command, dirs linux command, dirs help, help dirs, command dirs help, help dirs command