The first time we create a hidden file called bash_aliases in your home directory with type this command:
# > ~/.bash_aliases; gedit ~/.bash_aliases
Here are some examples of aliases that can be added to the file bash_aliases ~ /:
- alias bld=blender
- alias inks=inkscape
- alias upgrade=’sudo apt-get upgrade’
- alias inst=’sudo apt-get install’
- alias autorm=’sudo apt-get autoremove’
To test your alias, close the terminal and run it again, then test by running a command alias that you created earlier.
No comments:
Post a Comment