Bash Aliases for Everything
If you spend more than a few minutes per day in any sort of shell, bash etc. think of the top ten commands that you type every day. Add a bash alias for some of the ones you use every day and save yourself a few hundred (or thousand) keystrokes per day.
example:
alias pm="git pull origin master"
alias lsql="mysql -u root -p -h localhost"
alias gc="git commit -am "
Repeat this once or twice a month and after a year you will have a nice set of shortcuts that are second nature. Be sure to keep your aliases version controlled so that you can use them elsewhere such as:
Written by Russell Fair
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Alias
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#