https://unix.stackexchange.com/questions/288521/with-the-linux-cat-command-how-do-i-show-only-certain-lines-by-number To print one line (5) $ sed -n 5p file Line 5 To print multiple lines (5 & 8) $ sed -n -e 5p -e 8p file Line 5 Line 8 To print speci…