Subject: Re: bash
To: Frederick Bruckman <firstname.lastname@example.org>
From: Steven M. Bellovin <email@example.com>
Date: 03/25/2001 16:00:14
In message <Pine.NEB.firstname.lastname@example.org>,
Frederick Bruckman writes:
>On Sun, 25 Mar 2001, Matthias Buelow wrote:
>> Frederick Bruckman <email@example.com> writes:
>> >No directory stack (pushd, popd). Yes, I've seen implementations under
>> >ksh, but most of them are as long as the rest of my ~/.shinit file, so
>> >I just switched back to bash.
>> just as an add-on hint, a sample implementation of pushd/popd/dirs
>> (not just for ksh, works with sh too) is contained in the sh-source
>> in the NetBSD source tree, in [/usr/src]/bin/sh/funcs.
>Hey, that's pretty neat.
>I'm curious about something. There's a "suspend" in there, and that's
>also a bash builtin. What's that good for? I mean, why would you ever
>want to suspend your shell?
I do it constantly, especially after an 'su'.
--Steve Bellovin, http://www.research.att.com/~smb