Indeed, these are great guys. Thanks for sharing.
Will be referencing you guys in an article tomorrow:
From the Community
The LinuxCommunity.io forum thread on favorite aliases and functions collected some solid contributions worth adding to your own setup. Here are the highlights.
toadie swaps ls for lsd, a modern ls replacement with icons and color output:
alias ls="lsd -lah --header"
toadie also uses short named aliases for frequently visited directories, one per project or location:
alias vm='cd ~/vm'
alias dock='cd ~/docker'
alias dev='cd ~/dev'
alias learn='cd ~/learn'
Once you have more than a handful of project directories, this pattern beats cd-ing through long paths every time.
I used a version of ll that sorts directories to the top:
alias ll="ls -lAhF --group-directories-first"
Small change from the standard ll, but having directories sorted above files makes scanning large directories noticeably faster.
Gopinath Pigili adds a few location shortcuts and a per-user top view:
alias home='cd ~'
alias root='cd /'
alias logs='cd /var/log'
alias topu='top -u $USER'
alias psa='ps aux'
topu is a neat one. It filters top to show only your own processes, useful on shared systems where other users’ processes clutter the output.
Brian Masinick keeps a simple c alias that clears the screen and prints the current directory in one shot:
alias c='clear;pwd'
He also uses a short u alias mapped to the update command for whichever distro he’s on at the time, swapping it out per machine. Same principle as the distro-specific update aliases covered above, just taken further.
J J Sloan has a hello alias that makes for a satisfying login sequence:
alias cls=clear
alias ltr='ls -latr'
alias hello='cd; clear; fastfetch'`
hello drops you to home, clears the screen, and fires fastfetch for a system info summary. Good for a fresh terminal orientation. ltr sorts files by modification time with the most recently changed at the bottom, useful when you want to see what changed and when.