Getting n-th line of text output September 16, 2023 by Tarik output | sed -n '1p' #prints the 1st line of output output | sed -n '1,3p' #prints the 1st, 2nd and 3rd line of output