Shortcut your commands into .bashrc

E

EdwardDekker

Guest
Hi everyone,

Sometimes it is so hard to find old commands by this forum.
Use instead for a complete command-line an alias. Store them into your .bashrc file.

Use:
Code:
vi .bashrc
Insert alias and save

Code:
alias pleskupdate='autoinstaller --select-product-id plesk  --select-release-current --override-os-arch i386  --upgrade-installed-components'
Use "--select-release-latest" for the latest version.
"Pleskupdate" is your command and will be executed by your command-line.

Use also:
Code:
source .bashrc
To update your profile.

Find also your commands at grep:
Code:
grep alias .bashrc
Be aware to check if the system have already the short-cut before you add this alias into your .bashrc file.
 
Last edited by a moderator:
Back
Top