• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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