From owner-freebsd-questions Wed Jan 16 20: 7:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id F387937B404 for ; Wed, 16 Jan 2002 20:07:50 -0800 (PST) Received: (qmail 33222 invoked by uid 100); 17 Jan 2002 04:07:38 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15430.19977.848794.416446@guru.mired.org> Date: Wed, 16 Jan 2002 22:07:37 -0600 To: "Joe Rodrigues" Cc: questions@freebsd.org Subject: Re: Commands In-Reply-To: <76499027@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.4-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joe Rodrigues 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. 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