Learning the Command Line, tricks, tips or tools to remember?

Command line does have some nice tricks, like

  • bash command completion (assuming you use bash)
  • man pages
  • command history using arrow keys

and more.

For the user, command completion is about hitting the Tab while writing a command. Tab key can fill up many things, like the command name, options, file and directory names. So, less writing and correct names.

The man pages gives you detailed info about commands. For example,

    man man

shows info about the man command.

And when bash is properly configured, you can use up and down arrow keys to re-use a previous command. Simply write a few letters of a previous command, and hit up or down key to walk through all ”matching” previous commands.
Recent EndeavourOS installs should already have these arrow keys properly configured.

Hopefully this helps. It may not be exactly what you asked, but hopefully useful anyway.

2 Likes