1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Shortcut your commands into .bashrc

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by EdwardDekker, Dec 1, 2011.

  1. EdwardDekker

    EdwardDekker Guest

    0
     
    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: Dec 1, 2011
Loading...