Table of Contents

linux

Linux is a kernel. See https://xkcd.com/456/

TPM stuff

learn

https://kernelnewbies.org/Linux_Kernel_Newbies is a good starting point for learning about the kernel.
https://kernelnewbies.org/Outreachyfirstpatch → Write your first patch for the kernel

https://man7.org/tlpi/ → The Linux Programming Interface – Michael Kerrisk

https://github.com/PacktPublishing/Linux-Device-Driver-Development-Second-Edition → Linux Device Driver Development, Second Ed. – John Madieu

kernel

fs/ → virtual file system implementation (generic fs code and toplevel implementation of fs syscalls), specific filesystems
mm/ → virtual memory management (mmap, kmalloc, vmalloc)
kernel/ → core kernel code, scheduler, primitives (printk), process syscalls (fork, exit)
net/ → network generic code and protocol implementations; most syscalls in net/socket.c

Interactive map of the Linux kernel

xset

change xorg settings

display power management (DPMS)

xset s off Disable screen saver blanking
xset s 3600 3600 Change blank time to 1 hour
xset -dpms Turn off DPMS
xset s off -dpms Disable DPMS and prevent screen from blanking
xset dpms force off Turn off screen immediately
xset dpms force standby Standby screen
xset dpms force suspend Suspend screen

Notes

NOTE: This section is meant for tidbits of useful knowledge on linux, mostly commands.
Ideally, these notes will branch out over time, and I will refactor them into separate topics under Linux.

# allow TCP ipv4 
iptables -I INPUT -p tcp --dport 3389 -j ACCEPT
# allow UDP ipv4
iptables -I INPUT -p udp --dport 3389 -j ACCEPT
# allow TCP ipv6
ip6tables -I INPUT -p tcp --dport 3389 -j ACCEPT
# allow UDP ipv6
ip6tables -I INPUT -p udp --dport 3389 -j ACCEPT

MIME

Configure default applications for xdg-* at ~/.config/mimeapps.list

Links

https://cb.vu/unixtoolbox.html

https://sergiu121.github.io/docs/index.html → USO lab book starter on operating systems and (mostly) linux
https://ocw.cs.pub.ro/courses/uso/cursuri/start → USO wiki, slides and resources

http://quotes.cat-v.org/programming/bumper-sticker-computer-science → 20/20 hindsight CS quotes
https://perl.plover.com/ → Lots of unix stuff: history, teachings, presentations on various topics.
https://djoffe.com/stuff/linuxref/ → useful linux CLI tools with description

https://blog.robertelder.org/linux-hardware-debugging/ → hardware debugging resource

https://0xax.gitbooks.io/linux-insides/content/ → kernel internals; work in progress book

https://github.com/mk-fg/fgtk → helpful public domain scripts

News