List All Possible Terminal Commands 7

Terminal

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.

Where To Next?

7 Responses to “List All Possible Terminal Commands”

  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

  7. 7

    Hi- it didn’t work for me.. I am trying to figure out how to close the extra monitor on my mac.
    There is no external device connected but I can still arrange a 2nd window… which makes my mouse go into
    lala land. I think I connected to a projector -but the option is still there. It is messing up my video card!

    Comment By jewels on March 4th, at 9:58 am

Leave a Reply

You can use: <a href> <h1 - h6> <acronym> <code> <em> <trike> <strong> <i> <b>