Aug
18th
Thu
18th
tip: linux
swap left alt and command keys with setxkbmap -option altwin:swap_lalt_lwin http://bit.ly/pNSwYN
swap left alt and command keys with setxkbmap -option altwin:swap_lalt_lwin http://bit.ly/pNSwYN
to see available ram, use free -m | xargs | awk ‘{print $17 “MB”}’ (via @jazzychad)
use sudo iosnoop to snoop i/o events as they occur (#macosx friendly as well)
use port knocking daemon (knockd) to perform network actions via tcp port activity
gentoo now has a server USE flag, which might important for not breaking things like cvs server mode
if you see windows-style ^M newlines in a file, try tr -s ‘r’ ‘n’ to get rid of them
to mount an iso, mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /dir