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

What is the difference between grep and grep?

1059


What is the command to view process running?

1065


What is the use of find command in unix?

1071


What is the difference between awk and grep?

1146


What is a bash command?

1108


What is the pipe command?

1122


What is the general format of unix command syntax?

1789


What does awk stand for?

1031


Explain ‘system calls’ with respect to unix commands?

1038


Describe the usage and functionality of the command rm –r * in unix?

1960


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

1145


What are the dos commands?

1192


Which command is used to delete all files in the current directory and all its sub-directories?

1207


Who command in unix?

1083


Why is shebang used?

1040