有用的终端快捷方式
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了有用的终端快捷方式相关的知识,希望对你有一定的参考价值。
Create this in: ~/.bash_aliases.
alias housekeeping='sudo apt-get update; sudo apt-get upgrade; sudo apt-get autoclean; sudo apt-get autoremove' alias documents='cd ~/Documents' alias downloads='cd ~/Downloads' alias desktop='cd ~/Desktop' alias get-lamp='sudo apt-get install tasksel; sudo tasksel install lamp-server' alias get-phpmyadmin='sudo apt-get install phpmyadmin; echo "#Add Include /etc/phpmyadmin/apache.conf to /etc/apache2/apache2.conf then run sudo /etc/init.d/apache2 restart"' alias get-filezilla='sudo apt-get install filezilla' alias poweroff='sudo shutdown -h now' alias get-spotify='echo "#edit /etc/apt/sources.list and add "deb http://repository.spotify.com stable non-free", then run the alias: install-spotify"' alias install-spotify='sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59; sudo apt-get update; sudo apt-get install spotify-client' alias get-dvd='sudo apt-get install libdvdread4; sudo /usr/share/doc/libdvdread4/install-css.sh'
以上是关于有用的终端快捷方式的主要内容,如果未能解决你的问题,请参考以下文章