Alias in .bashrc

Maybe time consuming when using long long command like this
#qemu-system-x86_64 -smp 2 -hda /home/mic/slack13.1.img -cdrom /home/mic/ISO/slackware-13.1-install-dvd.iso -m 1024

One way to shorten the command… with alias in .bashrc and .bash_profile
——————-
alias qemu=qemu-system-x86_64
——————-
the next day I’ll use
#qemu -smp 2 -hda /home/mic/slack13.1.img -cdrom /home/mic/ISO/slackware-13.1-install-dvd.iso -m 1024

Still to long ?

——————
alias qemu1=qemu-system-x86_64 -smp 2 -hda -m 1024
——————
The next day
#qemu1

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