shell get given line code example Example: shell get given line # Get line 3 of the output of `seq 10` seq 10 | awk 'NR==3'