l | tail +2
— Skip first line of stdoutl | head -n-1
— Skip last line of stdout (GNU version only)echo "test" | head -c-1
— Remove last newlinecomm -12 <(echo 1; echo 2) <(echo 1; echo 2; echo 3)
— Shows intersection (here1 2
).cat template.txt | envsubst
— substitutes environment variables in fileecho 123abc | od -c -t d1
— Show decimal dumpecho 123abc | xxd
— Show a hexdump (or do the reverse)
NewerOlder