Edit ~/.bashrc file and give the alias names (for root /root/.bashrc) like,
alias h='cd ~/'
alias w='cd /var/www'
alias t='tree'
alias p='pwd'
alias .='cd ..'
alias ..='cd ../..'
alias ...='cd ../../..'
alias m='chmod 777 *'
alias ma='chmod -R 777 *'
alias s='cd /diskS/Documents'
alias ars='/etc/init.d/apache2 restart'
alias arl='/etc/init.d/apache2 force-reload'
alias list='dpkg -l |grep'
alias up='apt-get update'
alias as='aptitude search'
alias ai='apt-get install build-essential '
alias ar='apt-get remove '
alias apr='apt-get --purge remove '
alias gp='fgrep -Rin '
alias h='cd ~/'
alias w='cd /var/www'
alias t='tree'
alias p='pwd'
alias .='cd ..'
alias ..='cd ../..'
alias ...='cd ../../..'
alias m='chmod 777 *'
alias ma='chmod -R 777 *'
alias s='cd /diskS/Documents'
alias ars='/etc/init.d/apache2 restart'
alias arl='/etc/init.d/apache2 force-reload'
alias list='dpkg -l |grep'
alias up='apt-get update'
alias as='aptitude search'
alias ai='apt-get install build-essential '
alias ar='apt-get remove '
alias apr='apt-get --purge remove '
alias gp='fgrep -Rin '
No comments:
Post a Comment