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

Hi,

Try with the below command

sed -n '7p' <file name>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between grep and find command in unix?

1167


How does shebang work?

1033


What is a bash command?

1139


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

1172


What is the difference between cat command and more command?

1153


hw will u use awk in replacing cahrs and files

3206


What is the difference between awk and grep?

1181


What is grep in bash?

1030


What is command substitution?

1299


What is in grep command?

1138


What is used to type command?

1027


What are awk commands?

1121


How can we use grep command in unix?

1163


What is unix command line?

1203


Which command is used to restrict incoming messages?

1066