Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PREVD(1)			  fish-shell			      PREVD(1)

NAME
       prevd - move backward through directory history

SYNOPSIS
	  prevd	[ -l | --list ]	[POS]

DESCRIPTION
       prevd  moves backwards POS positions in the history of visited directo-
       ries; if	the beginning of the  history  has  been  hit,	a  warning  is
       printed.

       If the -l or --list flag	is specified, the current history is also dis-
       played.

       Note that the cd	command	limits directory history to the	 25  most  re-
       cently  visited	directories. The history is stored in the $dirprev and
       $dirnext	variables which	this command manipulates.

EXAMPLE
	  cd /usr/src
	  # Working directory is now /usr/src

	  cd /usr/src/fish-shell
	  # Working directory is now /usr/src/fish-shell

	  prevd
	  # Working directory is now /usr/src

	  nextd
	  # Working directory is now /usr/src/fish-shell

SEE ALSO
       o the cdh command to display a prompt to	quickly	navigate the history

       o the dirh command to print the directory history

       o the nextd command to move forward

COPYRIGHT
       2021, fish-shell	developers

3.3				 Apr 04, 2022			      PREVD(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=prevd&sektion=1&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help