[Fsf Programmers] Enhanced 'cd'.

Vimal Joseph vimalekm@[EMAIL-PROTECTED]
Sun May 28 11:27:55 IST 2006


On 5/28/06, Debarshi 'Rishi' Ray <debarshi.ray at gmail.com> wrote:
> Hi,
>
> What I am looking to have is something similar to the back and forward
> tools in GUI file managers like Nautilus, where something like cd [
> will take the user back in the list of directories, instead of merely
> entangling him in the present and the past locations visited. eg.,
> executing cd [ thrice would take us to /usr, and then executing cd ]
> once would take us to /usr/local/. Obviously if the list is empty then
> cd [ or cd ] would not change anything.

pushd  and popd do the same thing.. it is built into bash.

~vimal



More information about the Fsf-prog mailing list