Works great if you use it enough to memorize the syntax but sucks royally if you don't.
Good point ...
Counterpoint: Shell alias (or just one-liner scripts)
Use case for shell alias: Every once in a while, I'm doing some disk/filesystem performance testing, and it is necessary/prudent to flush-and-clear the OS system buffers, to get a known and consistent base condition. But I can never remember the exact command(s) to do that.
Solution:
Code:
alias lobotomy='sync; echo 1 > /proc/sys/vm/drop_caches' # flush/clear buffers
alias fflobotomy='sync; echo 3 > /proc/sys/vm/drop_caches' # " " also metadata
Bonus: you choose the name
======
"Life is such monotony,
Without a good lobotomy." --Roy Harper ; "Committed"