go2(1)

go21

Directory finder

Usage

go2 [-h] [--cd] [-i] [-r] [--setup] [--version] [pattern [pattern ...]]

Overview

This manual page documents briefly the go2 command.

This manual page was written for the Debian(TM) distribution because the original program does not have a manual page.

go2 is a program that finds (and changes to) directories.

Important

go2 requires be loaded from the shell. To do this include the next sentence in your $HOME/.bashrc file:

[ -e /usr/lib/go2/go2.sh ] && source /usr/lib/go2/go2.sh

If your wish improve directory caching, you may include also the next sentence:

alias cd='go2 --cd'

Both are made by the setup process the first time you invoke go2.

Options

This program follows the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below. For a complete description, see the Info files.

--cd

Just change working directory

-i

Case insensitive.

-r

Search from root directory.

-d

Search in hidden directories.

-l

List only, print matches and exists.

--setup

Install go2 in your .bashrc.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–9

--cd since Debian 7 (Wheezy); --setup since Debian 7 (Wheezy); -l since Debian 7 (Wheezy).

-H until Debian 6.0 (Squeeze).

Author

[email protected]

From go2 1.20121210-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.