Crmgo Blog

sed

← Blog / Linux

sed

Posts: 2

Reading Lines from Files

Reading Lines from Files

· sed

Example 1: Output specific lines by their line numbers using the sed command. The command allows viewing only the desired lines with explicitly specified line numbers. Syntax: $ sed -n -e Xp -e Yp FILENAME sed: command,…