Forrest logo
back to the sed tool

files:edit:remove:line-number

Deletes the line number X from the file.txt
$ sed -i 'Xd' ${filename}
try on your machine

Deletes the line number X from the 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 to remove a line number from file?
back to the sed tool