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

hi isha,

this is prasad, head command displays first n lines from
the file

head -7 <filename> it displays first 7 lines, i want exact
7 line.


thanku for send this question isha.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are reported commands?

1070


What are the dos commands?

1190


What is the difference between awk and grep?

1144


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

1334


How do I delete files from command prompt?

1147


What does the command ' $who | sort –logfile > newfile' do?

1233


What is unix command?

1201


What is merge command in unix?

1442


How do I run a whois command?

1097


Explain command to show the space allocation of files?

1067


How many unix commands are there?

1097


What's a command word?

1111


How do I find previous commands in unix?

1120


Why is it called grep?

968


What difference between cmp and diff commands?

1237