Find port in nginx configs recursively

grep 8080 --include='*.conf' -r /etc/nginx

sed dry-run

sed 's/Dimensions/Габариты/' /tmp/woocommerce-ru_RU.po | less

Print files directories with hidden (.dot-started)

nkonev@localhost ~ $ find `pwd` -mindepth 1 -maxdepth 1

/home/nkonev/Programming

/home/nkonev/Общедоступные

/home/nkonev/.ssh

/home/nkonev/.cache

Print all arguments passed to all java processes

for j in `pgrep java`; do

cat /proc/${j}/cmdline | tr '\0' ' '

echo

echo

done

Float-pointed calculations

nkonev@localhost ~ $ echo '3.0 / 2' | bc -l

1.50000000000000000000

Literature

Advanced Bash-Scripting Guide

Bash Reference Manual

---

Linux console terminal