
sed:ai:a06d4
Print lines x to y from file.txt
$ sed -n 'x,yp' ${filename}
try on your machine
Print lines x to y from file.txt
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- how do I print a file from lines x to y only?