Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

if we create a file, in that 10 rows(means 1,2,....9,10
like). i want 7 row exactly, which command use in unix?
plz send this question.

Answer Posted / thomas k

please try this. it will work.
head -7 <filename> | tail -1

Is This Answer Correct ?    42 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to search for a file?

1103


Name the various commands that are used for the user information in unix.

1134


What is awk good for?

1193


How do I find previous commands in unix?

1250


What is .sh file?

1258


What is the general format of unix command syntax?

2032


Is it inbetween or in between?

1109


How do you grep recursively?

1155


Explain ‘library functions’ with respect to unix commands?

1215


What is the use of the tee command?

1153


What does this command do? Cat food 1 > kitty

1637


What difference between cmp and diff commands?

1352


What is grep short for?

1102


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1358


Which command can you use to find the currently running process in unix server?

1168