$ vi +<lineNumber>d +wq <filename>
For example, to remove line 5 from foo, type: vi +5d +wq foo
by David Winterbottom (codeinthehole.com)
$ vi +<lineNumber>d +wq <filename>
For example, to remove line 5 from foo, type: vi +5d +wq foo
by David Winterbottom (codeinthehole.com)