Hellolo! I'm sure some of you guys(and girls, ofc) have heard about the alias command in LXTerminal. It works, but it isn't permanent. Well, this is a tutorial on how to make permanent
(unless you remove them) aliases, or in an noob way of saying it, shortcuts, in LXTerminal!
First, start off by using nano to edit .bash_aliases. Be sure your in '/home/pi'!
Once your in, you can add a shortcut by simply making a new line, and typing this:
Replacing "command" with the command you want to make a shortcut for, and replace "shortcut" with the name of your soon created shortcut..
So, for example, if I want to make a shortcut for "sudo apt-get install" with the name "aginstall", it'll look like this:
Code: Select all
alias aginstall='sudo apt-get install'
When your done adding shortcuts, press CTRL + X, then Y, then ENTER and poof, your done!
And start using your shortcuts!
Kind regards, Kevin
Wiizard/Protheuz, just call me Kev.