A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/linux-unix/dirs-command-in-linux-with-examples/ below:

dirs command in Linux with examples

dirs command in Linux with examples

Last Updated : 15 May, 2019

dirs

command shell builtin is used to display the list of currently remembered directories. By default, it includes the directory you are currently in. A directory can get into the list via

pushd

command followed by the dir name and can be removed via

popd

command.

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

It is useful for easy and quick flow through the directories on the command line. Suppose you want to go to a directory, you can just use the command

pushd dir-name

and you will be redirected to that directory. Also, you can simply come back to previous by using command

popd Options: Parameters: Examples:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4