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

Put the command in Present working dir

head -7 <filename>

Is This Answer Correct ?    16 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to compare two files in unix?

1081


How do I run a bash script?

1145


What are reported commands?

1094


What does the “echo” command do?

1115


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1177


What is a bash command?

1139


What is the comma to show the space allocation of files?

1048


Using unix command how to display no of records in oracle?

1136


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1365


How do I use grep to search for a file?

1022


Who invented grep?

1134


What are awk commands?

1123


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

1094


What are the general commands in using unix os for a beginner?

1133


What does 'mkdir' command do in UNIX?

1275