Useful Terminal Shortcuts


/ Published in: Bash
Save to your folder(s)

Create this in: ~/.bash_aliases.


Copy this code and paste it in your HTML
  1. alias housekeeping='sudo apt-get update; sudo apt-get upgrade; sudo apt-get autoclean; sudo apt-get autoremove'
  2.  
  3. alias documents='cd ~/Documents'
  4.  
  5. alias downloads='cd ~/Downloads'
  6.  
  7. alias desktop='cd ~/Desktop'
  8.  
  9. alias get-lamp='sudo apt-get install tasksel; sudo tasksel install lamp-server'
  10.  
  11. 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"'
  12.  
  13. alias get-filezilla='sudo apt-get install filezilla'
  14.  
  15. alias poweroff='sudo shutdown -h now'
  16.  
  17. 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"'
  18.  
  19. alias install-spotify='sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59; sudo apt-get update; sudo apt-get install spotify-client'
  20.  
  21. alias get-dvd='sudo apt-get install libdvdread4; sudo /usr/share/doc/libdvdread4/install-css.sh'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.