jake RSS


jakehofman.com

Archive

Aug
18th
Thu
permalink

tip: linux

swap left alt and command keys with setxkbmap -option altwin:swap_lalt_lwin http://bit.ly/pNSwYN

tips  linux 
Apr
23rd
Thu
permalink

tip: linux

to see available ram, use free -m | xargs | awk ‘{print $17 “MB”}’ (via @jazzychad)

tips  linux 
Mar
24th
Tue
permalink

tip: linux

use sudo iosnoop to snoop i/o events as they occur (#macosx friendly as well)

tips  linux 
Feb
25th
Mon
permalink

tip: networking,linux

use port knocking daemon (knockd) to perform network actions via tcp port activity

tips  networking  linux 
Sep
12th
Wed
permalink

tip: linux

gentle restart: hold down alt and print screen, type REISUB 3

tips  linux 
Aug
17th
Fri
permalink

tip: linux

gentoo now has a server USE flag, which might important for not breaking things like cvs server mode

tips  linux 
Dec
5th
Tue
permalink

tip: linux

to set date, date mmddhhmm

tips  linux 
Oct
5th
Thu
permalink

tip: linux

if you see windows-style ^M newlines in a file, try tr -s ‘r’ ‘n’ to get rid of them

tips  linux 
Sep
14th
Thu
permalink

tip: linux

to mount an iso, mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /dir

tips  linux 
Sep
2nd
Sat
permalink

tip: linux

to disable hyperthreading, pass noht to the kernel at boot

tips  linux