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

head -n 7 filename

Is This Answer Correct ?    4 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is awk good for?

1194


Differentiate cat command from more command.

1208


what is the advaantage of each user having its own copy of the shell?

2615


What is the difference between cat and more command?

1366


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

1270


What is difference between grep and find command in unix?

1278


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

1302


Is it inbetween or in between?

1110


What is .sh file?

1262


What is “chmod” command?

1245


What are file commands?

1291


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

1451


What is the command to find maximum memory taking process on the server?

1267


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

1169


What is awk used for?

1180