Professional Documents
Culture Documents
All Posts Install Kali Linux In VMware How To Crack WPA/WPA2 with Kali Kali.org Disclaimer
Since the Linux operating system is based almost entirely on terminal commands, it is
imperative that you create some basic aliases to make your life a bit easier. One way of
doing this is to just issue the command, “alias=command.” The problem with this method is
that it only keeps the alias until the system is logged off, then you have to enter it all over
again.
The solution? Enter the alias in the .bashrc file. This simple tutorial will explain to you
how to do this.
Step one:
Step two:
In the terminal, type “leafpad .bashrc”.
Step three:
Hit Enter. A text file (.bashrc) should open in the leafpad text editor.
lewiscomputerhowto.blogspot.com/2014/01/how-to-make-permanent-alias-in-kali.html 1/5
5/26/2019 Kali Linux Howto's: How To Make A Permanent Alias In Kali Linux
Scroll down until you reach a line filled with #alias examples.
Step four:
Place your select cursor at the end of the last #alias example and hit enter, making a new
line. See photo below.
lewiscomputerhowto.blogspot.com/2014/01/how-to-make-permanent-alias-in-kali.html 2/5
5/26/2019 Kali Linux Howto's: How To Make A Permanent Alias In Kali Linux
Step five:
Type the alias in the specified above location using the following format:
alias [shortcut]='[command]'
Replace [shortcut] with the alias you want, and replace [command] with the command that
the alias stands for.
Example: alias updatesys='apt-get update && apt-get upgrade'
The above example is a alias that I use so I can easily update Kali without having to type in
“apt-get update && apt-get upgrade” every time.
Picture example:
lewiscomputerhowto.blogspot.com/2014/01/how-to-make-permanent-alias-in-kali.html 3/5
5/26/2019 Kali Linux Howto's: How To Make A Permanent Alias In Kali Linux
Final step:
You’re almost there! Now that you’re done typing the alias in, you need to save the .bashrc
file. Do this quickly by hitting Ctrl+S or click “File > Save.”
Tip:
To insure that the file has been completely saved, make sure that the asterisk next to the
file name is gone:
Now close the .bashrc file and the terminal behind it. Open a new terminal and try out your
alias. If all went according to plan, the alias will be permanent, and can only be removed if
you remove it from the .bashrc file in the same way you created it.
Keywords how to create a permanent alias in kali linux, how to make a permanent alias in kali Linux, how to make an alias in kali
Linux, how to make an alias permanent in kali Linux
1 comment:
lewiscomputerhowto.blogspot.com/2014/01/how-to-make-permanent-alias-in-kali.html 4/5
5/26/2019 Kali Linux Howto's: How To Make A Permanent Alias In Kali Linux
THANK YOU!!!!
Reply
Copyright © Lewis Encarnacion 2016. Simple theme. Theme images by mammuth. Powered by Blogger.
lewiscomputerhowto.blogspot.com/2014/01/how-to-make-permanent-alias-in-kali.html 5/5