https://over23.github.io/r00t_l4b/useful_linux.html
grep -A 2 http ~/irclogs/freenode/#labka.log | uniq | grep -v -e "-!-"> ~/grep_irssi_http2.txt
$ cat pismenka1.txt | iconv -f utf8 -t ascii//TRANSLIT//IGNO RE> ascii.txt
$ echo "whatever" | rev
curl -u "email":"passwd" --silent "https://mail.google.com/mail/feed/atom" | perl -ne 'print "\t" if /<name>/; print "$2\n" if /<(title|name)>(.*)</1>/;' | awk -v FS="(<fullcount>|</fullcount>)" '{print $2}'
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2" " $3}END{print ""}' $file; done | sort -k 2 -n -r | less
usermod -s /usr/bin/fish username
find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 “: ” $5 }'
kill `ps aux | grep -F 'myServer' | grep -v -F 'grep' | awk '{ print $2 }'`
#!/bin/bash -x for f in *.mp4 do soubor="/Users/pavouk/Movies/xxx/$f" soubor2="/Users/pavouk/Movies/xxx_h265/$f" /usr/local/bin/ffmpeg -i ${soubor} -c:v libx265 -preset medium -codec:a aac -strict experimental -b:a 128k ${soubor2} done
for f in *\ *; do mv "$f" "${f// /_}"; done