Code when learning Linux. Most are from APUE, Computer Systems:A Programmer's Perspective and The Linux/Unix Programming Interface.