Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 22:07:37 -0600
From:      "Mike Meyer" <mwm-dated-1011672458.9aed48@mired.org>
To:        "Joe Rodrigues" <jxr2000@tmlp.com>
Cc:        questions@freebsd.org
Subject:   Re: Commands
Message-ID:  <15430.19977.848794.416446@guru.mired.org>
In-Reply-To: <76499027@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Rodrigues <jxr2000@tmlp.com> types:
> Hello.
> 
> Is there a way to get an alphabetized and/or by subject list of all the user
> commands available under FreeBsd.

That varies from user to user. But

$ for x in `echo $PATH | sed 's/:/ /g'`; do ls $x; done | sort

will generate an alphabetized list of all the commands available to
you, if you're running an sh-derived shell.

If you're not running such a shell, start one with
% sh
and then run the above.


	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15430.19977.848794.416446>