Ubuntu

From Colettapedia
Revision as of 21:49, 18 February 2014 by Colettace (talk | contribs)
Jump to navigation Jump to search

GUI

  • Alt+F1 = keystroke that gets you system menu
  • Alt+F2 = brings up Run Application dialog with automatic command autocomplete
  • startx - command to start gui from command line

APT

  • To see installed packages
    • sudo apt-get install aptitude; aptitude search '~i!~M'
  • Also locate seems to work well too
  • sudo apt-get remove <package name> - to remove a package

Troubleshooting

  • If fails to shutdown pass -h flag: sudo shutdown -h now

configure ssh

  • sudo apt-get install openssh-server
  • sudo ufw enable
  • sudo ufw allow ssh

Turn off windowing system on boot

  1. sudo nano /etc/default/grub
  2. Find out this line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  3. Change it to: GRUB_CMDLINE_LINUX_DEFAULT="text"
  4. Update Grub: sudo update-grub