Get line number 12 (or n) from a file

sed -n '12p;13q' file
Extracts only file number 12 from file. It's meant for text files. Replace 12 with the number you want. First line starts at 1 not 0. We use q on next line so doesn't process any line more.

1
By: bugmenot
2021-07-15 20:13:05

What Others Think

Thanks for sharing a amazing post, I have not seen this informative article before. buy followers australia
jamiereade8 · 9 weeks ago
I discovered your this post while looking for data about blog-related assessment and continue posting and supporting data. Call Girls in Jaipur http://www.amydsouza.in/jaipur-escorts.html"> Jaipur Escorts Service http://www.hydescortsgroup.co.in/jaipur-escorts.html"> Jaipur Escorts http://www.solvi.in/jaipur-escorts.html"> Jaipur Call Girls http://www.priyanka-kapoor.com/jaipur-escorts/"> Escorts in Jaipur
sumanrajput · 8 weeks and 6 days ago
I discovered this blog commonly more enlightening than the others I've analyzed as of now. I'm moreover enchanted by the stunning subtleties that you have on this site. http://www.goaescortss.net/jaipur-call-girls.html"> Jaipur Escorts Service http://www.goaescortss.in/jaipur-call-girls.html"> Jaipur Escorts http://www.mumbaiescortsjism.in/jaipur.html"> Jaipur Call Girls Escorts in Jaipur http://www.mumbaidreamgirls.co.in/jaipur-escorts.html"> Call Girls in Jaipur
sumanrajput · 8 weeks and 6 days ago
I ought to thank you for the endeavors you have made recorded as a printed variety of this article. I'm trusting in an equivalent best work from you later on in addition. http://www.mumbaiescortindia.com/jaipur-escorts.html http://www.anurawal.net.in/jaipur-escorts-service.html http://www.diya-dixit.net.in/jaipur-escorts.html http://www.mumbaiescort.co.in/locations/jaipur-call-girls.html http://www.anab.in/jaipur-escorts.html
sumanrajput · 8 weeks and 6 days ago
I was relentlessly checking this blog and I'm spellbound! Unimaginably strong data particularly the last part. I care for such data a ton. I was looking for this specific information for quite a while. https://www.mumbaiescortbabes.com/call-girls-jaipur.html https://mumbaiescorts69.co.in/jaipur-escorts.html http://sarahescorts.in/jaipur-escorts.html http://www.tashusharma.in/jaipur-escorts.html http://www.bobyraj.in/escortsserviceinjaipur.html
sumanrajput · 8 weeks and 6 days ago
Thanks for the wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .I love it reading. visit the website
harrythomson66 · 8 weeks and 3 days ago
This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. [url=https://potterswheelmedia.com/search-engine-optimization/]best SEO company in kochi[/url]
aadityaagarwal · 8 weeks ago
voip phone system service provider [url=https://www.vipcontentonline.com/]https://www.vipcontentonline.com/[/url]
vipcontentonline · 5 weeks ago
I've been visiting this site on a regular basis, and I'm completely enthralled! Unbelievably powerful data, particularly the last section. run 3
peterpan2811 · 4 weeks and 1 day ago
Thank you so much for sharing your thoughts and organizing your article very well. Keep updating! wall tile removal
johnlead · 2 weeks and 3 days ago
Hornady Black .450 Bushmaster 250 GR FTX 20 Rounds 223 5.56×45 Ammo 55gr FMJ Federal American Eagle (AE223BKX) 1000 Round Bulk Case 300 AAC BLACKOUT 200 GR SUBSONIC 1,000 ROUNDS 5.56×45 Ammo 55gr FMJ Wolf Gold Brass Case 1000 Round Case Battenfeld Technologies Perfect Seat Hand Primer CCI Ammunition 0012 Primers CCI Ammunition 0017 Primers CCI Ammunition 1 41 Military 5.56 Primer 1000/5 CCI Ammunition 209 In-Line Muzzleloading Primer 2000PC CCI Ammunition 209M SHTSHL Primer CCI Ammunition 400 Small Rifle Primer CCI Ammunition BR4 Small Rifle Primer CCI Ammunition Small Pistol Primer 500 Primers Federal 100 Small Pistol Primer 5000Ct Federal 209 Shotshell Primer Federal Fusion 209ML Primer 2000 Primers Federal Large Magnum Rifle Primers Federal LG Magazine Pistol Match Primers Federal Rifle Match Primer Large Federal Small Pistol Match Primers FIO 209 SHOTSHELL PRIMER Fiocchi Large Rifle Primer Fiocchi Small Rifle Primer RCBS 50BMG CRBOE Primer Pocket UMIFM RCBS 90383 TM Primer Pocket UNFromR LG PST Remington Centerfire Primers 6-1/2 Small Rifle Primers Remington LG Rifle Primer 5000PK Remington Premier 209 Primer 5000P Remington SM Pistol PrimerS Remington X22628 Centerfire Primers Winchester 8 1/2M-120 RF Primer Winchester Large Pistol Primer Winchester Large Rifle Match Primers 100Count Winchester Large Rifle Primer #8.5-120 1,000-Count Winchester LG PISTOL PRIMER 1M Winchester Small Pistol Match Primers 2400 4lbs – Alliant Powder 2460 1lb – Accurate Powder 2495 1lb – Accurate Powder 2520 1lb – Accurate Powder 2700 1lb – Accurate Powder 4000-MR 1lb – Alliant Powder 4350 1lb – Accurate Powder 700-X 4lb. – Hodgdon Powder 760 8lbs – Winchester Powder 800-X 8 lb – Hodgdon Powder Accurate Powder – #4100 1LB Accurate Powder – TCM 1lb Accurate Powder LT-32 Accurate Powder Nitro 100 12oz Accurate Powder XMR-5744 1LB Alliant Pdr – P. Pro 1200-R 1# Alliant Pdr – P. Pro 300-MP 1# Alliant Powder – 20/28 1lb Alliant Powder – 2400 1lb Alliant Powder – 2400 8lbs Alliant Powder – 410 GA 1lb
Ehawayvan · 1 week and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: