Useful Terminal Shortcuts for Ubuntu

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'
Useful Terminal Shortcuts for Ubuntu

Create this in: ~/.bash_aliases.

#linux #terminal #bash

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.