linux桌面的一些快捷设置

usermod -G root evan
sudo vi /etc/sudoers
root ALL=(ALL) ALL
evan ALL=(ALL) NOPASSWD: ALL
## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL) ALL
## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL
## Uncomment to allow members of group sudo to execute any command
%sudo ALL=(ALL) ALL
vi .bashrc
alias vi=’vim’
alias halt=’sudo halt’
alias reboot=’sudo reboot’
alias ifconfig=’/sbin/ifconfig eth0 | grep ” inet addr” ‘
#alias ifconfig=”/sbin/ifconfig eth0 | grep ‘inet addr’ ”
#alias ifconfig=’/sbin/ifconfig |head’
alias ll=’ls -l’
alias go=’ssh -i /home/evan/.ssh/guest [email protected]