ls -d */
apt-get install history
/var/log/apt/history.log
Configuring a static IP on Debian Wheezy for Raspberry Pi
$ sudo nano /etc/network/interfaces
Change:
iface eth0 inet dhcp
to
iface eth0 inet static
Below this line enter the following, replacing x where necessary for your network config.
address 192.168.x.x
netmask 255.255.255.0
network 192.168.x.0
broadcast 192.168.x.255
gateway 192.168.x.x
Removing a passphrase from an OpenSSH pub key
I’d set a passphrase on an OpenSSH key that I use to connect to a git repo on my local server. It started to get annoying, and more annoying with any other tool that I tried to use with the same key as it’s seems not all tools are setup to handle the prompting for the keyphrase.
Quickest workaround: remove the passphrase with ‘ssh-keygen -p’
– when prompted give the name of the pub/priv keypair (eg id_rsa), give the current keyphrase, and then when prompted for the new keyphrase, just hit return and again to confirm.
