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

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s