Ubuntu

From BC$ MobileTV Wiki
Jump to: navigation, search

Ubuntu is a popular open source Linux distribution managed by OSS company Canonical.



Commands

Most system-level commands which change settings, start/stop services or alter data values require the sudo command to precede them, which specifies that the command should be run as the system's "root administrator".


Show some computer stats:

lspci


Access a dictionary through terminal (must have a working internet connection). Replace word with whatever you'd like to search for (without quotes):

curl dict://dict.org/d:word


Check system temperature and battery charge:

acpi -t


See a list of all running processes:

ps aux


View the current time, date, and year:

date


Show a simple calendar:

cal


See what programs are running with the path names:

ps -aux

See your current IP address:

ifconfig -a


See what your system is doing at startup:

dmesg


Show information about the computer users:

finger -l


Show current Ubuntu version:

cat /etc/issue

Debian's Top Secret List of planned Release Names

zcat /usr/share/doc/linux-image-`uname -r`/changelog.Debian.gz | egrep -e "Release"


To clear all of the past commands you have run in the terminal history type:

history -c


Open up a file browser with all privileges:

gksudo nautilus


Edit color options (advanced users only):

gedit .gtkrc-2.0


Give a .sh file executable priveledges:

chmod +x


Shortcuts

A number of useful Keyboard Shortcuts are available by default in Ubuntu Linux. In addition, Ubuntu aims to provide freedom, flexibility and full customization options to end-users, so Keyboard Shortcuts can be remapped to different key combinations or new ones setup for executing just about any task or command.


Open a new Terminal (Shell) to type commands:

CTRL + ALT + T


Terminal keyboard shortcut for paste:

CTRL + SHIFT + ALT + V

-or-

Shift>>Insert


If you use GNOME, a classic Linux " easter egg":

ALT + F2 in your keyboard

and then type (an animated fish will start swimming around your desktop)[1]:

free the fish

To remove "Wanda" the fish from your desktop, type in shell Terminal:

killall gnome-panel





Tools

Ubuntu TV

XAMPP

To start XAMPP for Linux (commonly abbreviated LAMPP), use the following command:

sudo /opt/lampp/lampp start

[2]


Resources

  • Linux Command Line Learning Resources:


Tutorials


External Links


References

  1. Linux Easter Eggs: http://www.eeggs.com/tree/1134.html
  2. How to start/stop XAMPP in Linux (and its many new individual operations): http://www.apachefriends.org/en/xampp-linux.html#378

See Also

Linux | Unix | Mac | Windows