Useful aliases in bash

unix aliasesThe bash aliases are a great way to improve productivity, I find myself all too often typing the same commands repeatedly .

Here is a list of the most useful aliases to my workflow, I’m always looking to add more.

It has  greatly improved my productivity by at least 200%! (yes I tested..)

Interestingly, I also learnt the difference between bashrc and the bash_profile, this had me head scratching for a good hour as none of my aliases were working in “bashrc”.

Then I read this great article  .bash_profile vs .bashrc

The gist of it,   bash_profile: Gets executed to configure your shell settings before initial command prompt.

however if you’ve already login, the bashrc is called.   Apple being the special nerds they are, Mac Os X terminal (runs login shell) will executed the bash_profile.

Ced

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s