kbo kbo@identi.ca
Jens Kubieziel at 2013-01-21T21:46:34+00:00
Das ist aber mal ein netter Weg, die !zsh zu crashen: ${:wq} /via zsh mlkbo likes this.
Command Line Magic at 2011-03-10T18:32:26+00:00
socat -v UDP-LISTEN:8161,fork TCP:localhost:8161 # Encapsulate UDP packets in a TCP stream so it can be tunneled through an SSH tunnel, etc♺ @climagic: socat -v UDP-LISTEN:8161,fork TCP:localhost:8161 # Encapsulate UDP packets in a TCP stream so it can be tunneled through SSHCommand Line Magic at 2011-02-02T19:47:04+00:00
Linux sex: date ; unzip ; strip; touch; mount; etc.. Windows sex: start ; explore ; reboot ; viruscheck ; solitaireKeith Z-G, Steven! Ragnarök, Command Line Magic, Sander and 6 others likes this.
Emilio Velis, Emilio Velis, Gatitac, KanGouLya and 30 others shared this.
Command Line Magic at 2010-12-03T17:28:36+00:00
for grass in field* ; do mow $grass; done | grep -v weeds | while read -r hay; do bale $hay; done # Pipe one loop into another (metacode)Tobias Diekershoff, kbo likes this.
Command Line Magic at 2010-08-27T14:47:12+00:00
xmodmap -e "remove Lock = Caps_Lock" -e "keycode 66 = Escape" # In X, use xmodmap to turn your caps lock into an esc key. 66 == US layoutkbo likes this.
Command Line Magic at 2010-06-10T13:47:57+00:00
sed -s -i "1r /tmp/new.txt" *.txt # insert contents of /tmp/new.txt after line 1 into all .txt files in PWD. via .@substandardnerdkbo likes this.
Command Line Magic at 2010-06-04T01:08:10+00:00
In an openssh session, hit return twice and then ~C to enter command mode. Create tunnel on fly with -R 12345:hostname:123 via .@kevin__kkbo, Shaun Mallette likes this.
@climagic Wow, that's awesome!Command Line Magic at 2010-06-01T18:44:05+00:00
umount -l /busyfilesystem # If you're having trouble unmounting a filesystem that is "busy", you can use the -l option to do it "gradually".kbo likes this.