|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Join Date: Jul 2005
Posts: 22
|
Unix Question....
Hi guys, I like to display/print a specific number from a file with unix command. how do I do that? (not in vi editor)
For example, all I know is line number...e.g.: 2314th line. File is huge like 3gig. I wanna see just one line. Which unix command(s) can show me that? thanks |
|
|
|
|
|
#2 |
|
Registered User
Industry Role:
Join Date: Mar 2002
Location: San Diego, CA
Posts: 935
|
tail -2314 [file] | head -n 1
|
|
|
|
|
|
#3 | |
|
Confirmed User
Industry Role:
Join Date: Sep 2003
Location: amerinoc.com
Posts: 419
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jul 2005
Posts: 22
|
Guys. thank you so much. you saved me a lot. BOTH WORKS FOR ME!!
|
|
|
|