ubuntu

Paths

Release/version of Ubuntu $ cat /etc/lsb_release
Repository config file /etc/apt/sources.list
apt-get package cache /var/cache/apt/

Package management

Search for a package in repositories $ apt-cache search vim
Display installed package information $ dpkg-query -p vim
List files in installed package $ dpkg-query -L vim

Thinkpad

Screen brightness buttons

Most likely the following info is obsolete.

Fn+Home and Fn+End keys invoke scripts in /etc/acpi:

thinkpad-brightness-down.sh
video_brightnessdown.sh
thinkpad-brightness-up.sh
video_brightnessdown.sh

acpid daemon is responsible for listening to acpi events and running the appropriate script. To enable Fn+Home and Fn+End keys, put the following into respective video_brightness***.sh files:

#!/bin/bash
dcop power-manager-5555 power-manager brightnessDown

#!/bin/bash
dcop power-manager-5555 power-manager brightnessUp

Server packages

sudo aptitude install build-essential
sudo aptitude install php5-cgi php5-cli php5-gd
sudo aptitude install mysql-server mysql-client php5-mysql
sudo aptitude install git rsync subversion