If you are used to using DOS in Windows and would like to really get a handle on the differences in using Linux Shell, then you can easily create aliases to do your bidding.
Step 1 Sit down and make a list of DOS commands you want to use in Shell and then list the Shell equivalent.
Step 2 Boot your computer and open a Shell window.
Step 3 Type the following command, supplying the appropriate information requested:
Alias =’’.
Here is an example of what it should look like: Alias Edit=’vi’.
Step 4 Next, open your .bashrc file by typing the following: gedit .bashrc. You will need to add any of the aliases you have created, at the bottom of the file, by typing the same line of command as in Step 3.
Step 5 Make sure you save the information you have added by using the :w command. You will now need to either reboot your system or close and re-open a Shell window in order for the saved aliases to take effect.
How to Create Aliases in Linux
tags: Linux | author: chaoPosts Relacionados:
Subscribe to:
Post Comments (Atom)
0 comment:
Post a Comment