Linux Command Line Tips and Tricks

Aliases can be used to speed up your command line usage. They can be used to issue multiple commands with a single alias command.

The alias "update" is used to issue 3 commands apt-get update, apt-get dist-upgrade, and apt-get autoremove.

The alias "h()" is a function alias, this allows you to quickly search your history for keywords. such as "h nano" or "h grep" to get a list of lines from your bash history that match those keywords. We also ignore duplicates and lines beginning with a space and increase the history size. ...more

January 22, 2020 #Linux #Commandline