I spend a good chunk of time in a terminal and sometimes need to run a long command to get specific tasks done. I've known about aliases for a while but only recently began using them. Below are some aliases I've set up permanently in my .bashrc config. Aliases must be set up in the format of 'alias [name]='[command]' and saved into .bashrc in the home folder. For example, alias music='cmus' will launch cmus whenever I enter 'music' into my terminal.
Here is a list of aliases I've set up that range from fun to boring, but are all useful nonetheless. Entering the alias in a terminal will automatically run the corresponding command.
weathercurl wttr.in/austindefinesdcvflac2oggfind . -name "*flac" -exec oggenc -q 9 {} \;wifinmcli dev wifi show-passwordunmountBackupumount /run/media/chuck/Backup
Purpose: I often mount and unmount my external drive. Typing "unm" then tabbing will autocomplete 'unmountBackup', so I don't have to type out the entire path every time.ddgw3m lite.duckduckgo.comrmrm -rcpcp -rrssnewsboatvpnprotonvpn-cliI also have another alias which will SSH into my shared hosting, shortening ~70 characters down to just sshchuck.
Thanks for reading. Feel free to send comments, questions, or recommendations to hey@chuck.is.