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 / anandthks

head -7 <filename>| tail -1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command to display a file’s contents in various formats?

1214


What is the comma to display different lines that are found when compare two files?

1164


What does the command '$ls | wc –l > file1' do?

1235


What is grep command in unix with examples?

1223


What is the nmap command?

1192


What are filter commands in unix?

1204


What is the significance of the 'tee' command?

1202


What are bash commands?

1169


What is the use of cut command in unix?

1377


What do chmod, chown, chgrp commands do?

1291


What are grep patterns?

1088


What is {} in find command?

1113


What does sed command do in unix?

1202


What is s and g in sed command?

1120


Explain command to view process running?

1139