bash alias

Want to alias ‘c’ for ‘clear’ in your bash shell?

cat “alias c=clear” >> ~/.bash_profile; source ~/.bash_profile

and type ‘c’ in your shell.

Leave a Reply

Your email address will not be published. Required fields are marked *