bash-101 bash script cheets sheet cat /dev/stdin | cut -d' ' -f 4,5 | sort means: cat input file then cut file format with delimited(-d) spaces fields (-f) 2 and 3 then sorting. exp. cat test.txt | sorting-input.sh