Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old August 10th, 2006   #1
Dawnshadow
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 26
Is it possible to list all available commands in the terminal?

In the terminal, is it possible to output a list of all available commands (similar to what happens when you type a letter then push tab but for the whole alphabet)? Even better, is there a way to do this and export it to a text file automatically? I found a list of terminal commands, however, I know that I installed a few packages that make other things work at the command line (i.e, typing 'nethack' brings up Nethack) and I didn't think to write them all down....

Thank you.
Dawnshadow is offline   Reply With Quote
Old August 10th, 2006   #2
calx
Just Give Me the Beans!
 
calx's Avatar
 
Join Date: Feb 2006
Location: melb.au
Beans: 74
Send a message via MSN to calx
Re: Is it possible to list all available commands in the terminal?

Just press TAB twice..
__________________
"Culture is not your friend!" - Terence McKenna
calx is offline   Reply With Quote
Old August 10th, 2006   #3
mlind
Skinny Extra Sweet Ubuntu
 
mlind's Avatar
 
Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
Re: Is it possible to list all available commands in the terminal?

That's pretty huge list, just by hitting TAB key twice before writing any characters you get over 2000 hits.

Listing contents of /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin (and possibly ~/bin, ~/sbin) shows you all the scripts and binaries you can execute (as root at least).

One of the most useful things is to learn use manual pages, and using search while browsing the manual. For nethack, you would type man nethack or for bried help: nethack --help.
To search a manual page, type '/' and then type in your search string. Use 'n' to find next search result, 'N' for previous.
__________________
Building on Ubuntu using [pbuilder]
Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]
mlind is offline   Reply With Quote
Old August 10th, 2006   #4
Dawnshadow
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 26
Re: Is it possible to list all available commands in the terminal?

Thanks. I knew about "man whatever," but not the other uses, nor the brief help option. Useful, as that's what I intended to do with the listing-- a DIY reference to everything by man-ing all the non-obvious ones. (I wonder if "man man" works.... [and I'll be trying it as soon as I'm done with this post, so no need to tell me.])

(Hitting tab *before* typing... who'd've thought....)
Dawnshadow is offline   Reply With Quote
Old August 10th, 2006   #5
John.Michael.Kane
Ubuntu addict and loving it
 
Join Date: Aug 2005
My beans are hidden!
Re: Is it possible to list all available commands in the terminal?

These may be of some use.

The Linux Terminal - a Beginners' Bash
An A-Z Index of the Linux BASH command line
Linux Shortcuts and Commands
Some Useful Linux Commands
LINUX ADMINISTRATOR GUIDE
__________________
Advantages and Disadvantages of 64bit.(Plus install Guides)

‘In search of some small measure of peace, that we all seek, and few of us ever find.’
John.Michael.Kane is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:53 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry