convmv --notest -f latin1 -t utf8 *.pdf
find . -type d | while read dir; do rename 's/ö/oe/g;s/Ö/Oe/g;s/ü/ue/g;s/Ü/Ue/g;s/ä/ae/g;s/Ä/Ae/g' "$dir"; done
find . -type f | while read file; do rename 's/ö/oe/g;s/Ö/Oe/g;s/ü/ue/g;s/Ü/Ue/g;s/ä/ae/g;s/Ä/Ae/g' "$file"; done
sed 's/#.*$//' -e '/^$/d' -e '/^\s*#.*$/d' /etc/file.cfg
sed -i 's/$/\r/' file.txt
sed -i 's/\r//' file.txt
¶ search and replace onliner
sed -i 's/search/replace/g;' *.txt
perl -i -pe 'BEGIN{undef $/;} s/START_PATTERN.*END_PATTERN/REPLACE_STRING/smg' file1.txt
awk '/start_pattern/,/stop_pattern/' file.txt
cat MYFILE |sed '/START_PATTERN/,/END_PATTERN/d'
tidy -xml -i -m [file]
xmllint --format [file]
cat file.json | python -m json.tool
¶ list installed packages and repo
repoquery -a --installed --qf "%{ui_from_repo} %{name}"
yum list installed | egrep -i 'epel|ovirt'
cal > cal.txt
enscript -o cal.ps cal.txt
ps2pdf cal.ps
color-script.sh | col -b | sed 's/0;[0-9]*m//g'
color-script.sh | sed 's/\x1b\[[0-9;]*m//g'
yes | ansible-playbook csv-runner-baseEvpn.yml | tee >(aha > ansible_example_output.html)
dnf -y install man-pages || apt-get -y install manpages
man ascii