Skip to main content
Skip to search
Login links
Login
Register
Search this site:
Linux Community
for stable, intuitive, easy to use Linux software
Linux Community
toggle
Primary menu
Blogs
Ebuilds
File System
Tickets
Wiki
Goals
Secondary menu
User login
Username:
*
Password:
*
Create new account
Request new password
Tickets per project
All tickets
French Republican Calendar and Decimal Time API
Linux distribution
Linux hardware
Linux server
Linux software
Programming
Web site
lftp
Home
» working with files
working with files
How to remove the Nth line from a file
Easy solution with sed:
$ sed --in-place '3d' test.txt
Who's online
There are currently
0 users
and
0 guests
online.
Primary menu
Blogs
Ebuilds
File System
Tickets
Wiki
Goals