[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: short reference for Unix commands



On Wed, Oct 03, 2001 at 10:17:06AM +0200, Alexander Steinert wrote:
> Sorry for not being precisely enough:
> 
> Rather than introductory docs I'm looking for a _short_ reference of
> Unix / Linux commands. The best would be _one_ table with all command
> names and descriptions and maybe links to the man pages.

how about:
for i in /bin /sbin /usr/bin /usr/sbin; do cd $i; for j in *; do whatis $j; 
done; done | sort | less

It will produce a one-liner describing most of the commands available on
your system.  You could, with some fun applications of sed, awk, perl,
or vi regexp substitute commands, format it pretty easily for HTML too.  

:)

-ben

p.s.  to get rid of the commands your system doesn't know anything
about, throw a "| grep -v "nothing appropriate" in there before the
less.


-- 

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Hartshorne	...Discarding smoothly, as we disembark,
ben@hartshorne.net All thoughts that held us wiser for a moment
ben.hartshorne.net Up there, alone, in the impartial dark. -M. Oliver
My PGP key is at /pgp.txt.  Please encrypt all communications.

Attachment: pgpaXK5cbPbuO.pgp
Description: PGP signature


Reply to: