Author: z3bra One-line linux container ========================== # mkdir /ns; tar -c /lib /bin |tar -C /ns -x|ip netns add ct;ip netns exec ct unshare -fpium env -i chroot /ns /bin/echo why? Explanation: Who needs docker ? One-line linux container (as root) Funfair random game ===================== $ COINS=3; tr -cd WIN < /dev/urandom | fold -w 3 | head -n $COINS | grep WIN || echo Sorry! Explanation: Try your luck at the fun fair random game ! One coin, one try. If it prints "win", then... Well you win ! Proper kill ============= $ kill -SEGV $pid Comment: I am tired of people using `kill -9` for no reason, so I teach them the one true way World's simplest Gopher client ================================ $ read r; cat /var/gopher${r##../} Explanation: To be used from an inetd server. Put the above in a script in /usr/local/bin/gphd using the following line: gopher stream tcp nowait nobody /usr/local/bin/gphd