/ 中存储网

Ubuntu主目录下.bashrc文件备份的方法及命令

2015-08-25 22:17:57 来源:中存储网

Ubuntu主目录下.bashrc文件备份:

export PATH="$PATH:/opt/lampp/bin:." 
alias cls="clear" 
alias vimconf="vim ~/.vimrc" 
alias myconf="vim ~/.bashrc" 
alias myconfnow="source ~/.bashrc" 
alias myconfview="cat ~/.bashrc | egrep 'alias [a-z]{3,}="'" 
alias fastconf="vim /home/hanson/.local/share/applications/workspaces.desktop" 
alias update="sudo apt-get update" 
alias upgrade="sudo apt-get upgrade" 
alias updateall="sudo apt-get update && sudo apt-get upgrade" 
alias aptsearch="sudo aptitude search" 
alias aptshow="sudo aptitude show" 
alias aptinstall="sudo apt-get install" 
alias aptremove="sudo aptitude purge" 
alias cdxz="cd ~/下载" 
alias cda="cd ~" 
alias cdc="cd /media/c" 
alias cdd="cd /media/d" 
alias cde="cd /media/e" 
alias cdf="cd /media/f" 
alias cdg="cd /media/g" 
alias cdmovie="nautilus /media/f/Program Files/easyMule/Incoming" 
alias cdchm="nautilus /media/g/CHM" 
alias cdpdf="nautilus /media/g/PDF" 
alias cdlinux="nautilus /media/g/linux资料" 
alias cdwww="nautilus /opt/lampp/htdocs" 
alias cdcxz="nautilus /media/c/TDDOWNLOAD" 
alias open="~/shell/opendir" 
alias poweroff="sudo poweroff" 
alias reboot="sudo reboot" 
alias lamp="sudo /opt/lampp/lampp" 
alias lamps="sudo /opt/lampp/lampp start" 
alias lampre="sudo /opt/lampp/lampp restart" 
alias testnet="ping 163.com" 
alias sshlogin="ssh hanson@192.168.1.113" 
alias smartzip="/home/hanson/shell/smartzip" 
alias disk="df -lTh"