Make your aliases permanent

Typing frequently used commands can be frustrating at times.
Creating aliases  work. However they aren’t permanent.

I did this this to my .bashrc file, after a re login you can invoke clear with just cls.
[kish@MiAmor ~]$ cat .bashrc
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions
alias ff=firefox;
alias cls=clear;

Please do comment if you know a better way.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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

%d bloggers like this: