Compdigitec Labs

« | Home | »

Aliases for common command line typos

By admin | August 24, 2008

Update (2008-08-25): Lists complete and ready for download.
Update (2008-08-24): The list may take some time to compile, so downloads may not be available until August 25.

Are you tired from “bash: somethinghere: command not found” errors that happen when you type something like vf instead of cd, or cla instead of cls (alias for clear)? Well, now you can prevent it, because we have composed a list of most common command line typos. You won’t be able to use these aliases on Microsoft Windows due to cmd.exe not supporting aliases (unlike bash). You can, however, use these with Cygwin bash.

To use it, download the first download for each command and add to your ~/.bashrc. If you’re feeling a bit adventurous, you can download the CSV version (line 1 = command name, followed by one word for each typo) and parse it with Compdigitec FlatfileTools. If you don’t know how, read the article on it. Note: both the alias list and the CSV version use UNIX/Linux encoding (\n).

Typographical errors of the ls command. You can download the list of aliases or the CSV version.

Typographical errors of the cd command. You can download the list of aliases or the CSV version.

Typographical errors of the php command. Download alias list or CSV version.

Typographical errors of the make command. Download alias list or CSV format.

Typographical errors of the wget command. Download alias list or CSV format.

A part 2 article is under way for more commands.

If you found this article interesting or useful, please help Compdigitec spread the word or please leave a comment. Don’t forget to subscribe to Compdigitec Labs for more interesting articles!

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux, Windows | 3 Comments »

3 Responses to “Aliases for common command line typos”

  1. albino a+ Says:
    October 8th, 2021 at 00:14

    … [Trackback]

    […] Read More on to that Topic: compdigitec.com/labs/2008/08/24/aliases-for-common-command-line-typos/ […]

  2. kardinal stick Says:
    October 15th, 2021 at 19:56

    … [Trackback]

    […] Find More here on that Topic: compdigitec.com/labs/2008/08/24/aliases-for-common-command-line-typos/ […]

  3. psychedelics Says:
    October 20th, 2021 at 19:12

    … [Trackback]

    […] Information to that Topic: compdigitec.com/labs/2008/08/24/aliases-for-common-command-line-typos/ […]

Comments