Get specific line from text file using just shell script December 10, 2022 by Tarik sed: sed '5!d' file awk: awk 'NR==5' file