The patch command is an old tool that is still useful when changes need to move between machines without push or remote access. A typical case is an old server without git access, or a small fix that …
The patch command is an old tool that is still useful when changes need to move between machines without push or remote access. A typical case is an old server without git access, or a small fix that …
I have a small vps that I use for everything, and the auth log on that machine is just bots trying ssh passwords all day long. fail2ban helps, but it still feels wrong to expose port 22 to the whole …
Generate new mode for xrandr using cvt
$ cvt 1600 900 # 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz Modeline "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 …
$ cat script.sh #!/usr/bin/env bash THIS_FILE=$(readline -e $) THIS_DIR=$(dirname $THIS_FILE) echo $THIS_DIR source
$ ps aux | grep name
$ pstree -sp $ ps -ef –forest
kill the parent