## Command line calculator
calc() {
bc -l <<< "$@"
}
I have several aliases that just cd to directories I use a lot.
I have a simple activity log program I wrote in bash that writes to a text file. It has eleven aliases to invoke its features and to create entries for my most common activities that I can just tack details on the end of.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Here are a few of mine:
Make log times human readable
Remove editor backup files
And a couple of functions (in ~/.bashrc)
Change to my ~/bin directory
Quick calculation
I have several aliases that just cd to directories I use a lot.
I have a simple activity log program I wrote in bash that writes to a text file. It has eleven aliases to invoke its features and to create entries for my most common activities that I can just tack details on the end of.