Code: Select all
# terminal shortcuts
alias u='sudo nala update'
alias uu='sudo nala update && sudo nala upgrade'
alias i='sudo nala install'
alias p='sudo nala purge'
alias r='sudo nala remove'
alias a='sudo nala autoremove'
alias s='nala search'
alias d='nala show'
alias n='sudo nano'
alias m='man -Hfirefox'
notes - <nala> does the same thing as <apt>, it just displays the output nicer. You may have to install it if you don't have it. <sudo apt install nala>. Alternatively, just replace <nala> with <apt> in the code. apt is a bit quicker and nala does not do full-upgrade or dist-upgrade.
notes - You may need to install troffcvt for the 'm' shortcut to work. <sudo apt install troffcvt> It causes the man to open in your browser of choice (i.e.- <m conky> will open the conky man in firefox browser). You can replace 'man -Hfirefox' with 'man -Hopera', 'man -Hgoogle-chrome-stable' or whatever browser you want the man to open in.