Make a Shortcut Command - Linux

From: http://www.webhostingmanual.com/linuxtips.html which has a bunch of other tips for using Linux in a Web Host environment.

How to make a shortcut command (alias):
In root, type: pico -w .bashrc
Examples:
alias rm=\'rm -i\'
alias cp=\'cp -i\'
alias mv=\'mv -i\'

alias redtrix=\'cd /usr/local/cpanel/base/frontend/redtrix\'
alias redtrixs=\'cd /usr/local/cpanel/base/frontend/redtrixstarter\'
alias redtrixrs=\'cd /usr/local/cpanel/base/frontend/redtrixrs\'
alias redtrixwc=\'cd /usr/local/cpanel/base/frontend/redtrixwc\'

Related Scribbles:
  • Linux Commands


  • ID: 392
    Author:
    leonard
    Date Updated:
    2004-01-18 00:07:32
    Date Created:
    2004-01-16 19:13:26

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> Make a Shortcut Command - Linux
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.