16
May
08
Tagged Under: , ,
List All Possible Terminal Commands

Hey

I like Terminal. The power you have in such a little application. Anyway, I stumbled across this cool command while smashing my hands on the keyboard. In its simplicity it will list every single command available on your system. It will very between system to system, with the amount of commands available.

Open up Terminal and press and and hold Escape you should get a message saying “Display all 1420 possibilities? (y or n)” you then have the choice to press Y for yes or N or no. A second later all of the commands will be displayed. Not all at once, but in alphabetical order.


You then press enter to cycle through one line at a time. It will take a while to go through every line but you can find some cool commands. If you want to exit out of the list half way through press backspace (delete on a MacBook/Pro).

A very cool little tip and lets you find some cool commands. Not every command will work, and you should be very careful as some commands you will see can damage your system (rm comes to mind). If you are bored one day you now have every command available to you. It of course, wont show you commands within applications, for instance in emacs or vim.

If you want to keep up with the latests post from Mac Tricks And Tips I recommend you subscribe to the RSS Feed. To find out more about RSS check out the help page form more information.

Save/Promote This Post

If you enjoyed reading this article, post you vote. Each vote is highly appreciated. Find out more about bookmarking here

6 Responses


  1. 1

    I didn’t know about this one, good tip! Note that you can scroll a page a time by hitting spacebar versus a line a time using enter. That might speed up your browsing a bit. Cheers.

    Comment By Rolling Pin on May 17th, at 12:31 am
  2. 2

    Sweet didn’t no that.

    Comment By James Powell on May 17th, at 10:16 am
  3. 3

    Maybe you should extend your post with the Double-TAB function. Just type a letter on the commandline and press Tab twice and you see the possibilties. Works even on switching trough the filesystem.

    Comment By Anonymous on May 17th, at 4:48 pm
  4. 4

    If you want to know what a command does but you are afraid it might be destructive, try using the “man” command. Typing man and a command from the list will give you a manual page explaining the command function and format. Everyone can start with “man man” (without the quotes :-)

    Comment By Sean on May 18th, at 11:55 pm
  5. 5

    Neat tip I like it.

    Comment By James Powell on May 19th, at 4:36 pm
  6. 6

    wow kewl sitye

    Comment By kEVIN FRAZIER on July 14th, at 2:52 pm

Trackbacks/Pingbacks (Trackback URL)

Please use the Trackback URL above to get properly credited

Respond

Name (required)

Mail (will not be published) (required)

Website

Comments Guidelines

  • Only basic HTML tags are allowed:
  • <a href> <h1 - h6> <acronym> <code> <em> <strike> <strong> <i> <b>
  • Spam comments will be deleted and IP's and websites blacklisted.
  • Remember the rules are here to make sure every one has a good time.
  • If you want more information visit the Comment Guidelines & Help page.

Live Comment Preview:

1,851 Spam comments caught. So why bother spamming?

Small RSS Icon