[wplug] shell trick?

Jonathan S. Billings billings at negate.org
Fri Aug 18 06:41:49 EDT 2006


On 08/18/2006 03:57 AM, Zach wrote:
> I am looking for a Bourne shell alias that will only list the
> subdirectories in a given directory.
> Would like to work with the recursive option if possible but  that's
> not essential. Also I am using the color option so it should be
> compatible with that. 

Why can't you just use a 'find /some/dir -type d'?

> Another question: Is there a BASH equivalent to
> pop and push in csh/tcsh?

I believe it's popd and pushd, in bash.

-- 
Jonathan Billings <billings at negate.org>

If I have not seen so far it is because I stood in giant's footsteps.


More information about the wplug mailing list