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 want to see first 35 lines of a file which command we
have to use?

Answer Posted / pitambar mishra

head -35 filename

awk 'NR<=35 {print}' filename

sed '35 q' filename
sed -n '1,35 p' filename

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to find a file?

1164


How to display no of records in oracle using unix command?

1227


What does 'mkdir' command do in UNIX?

1374


What is the behavioural difference between cmp and diff commands?

1342


What is grep command in unix with examples?

1291


What is the use of finger command?

1267


How to find $ai_serual resolved path by using unix

1842


What does the “echo” command do?

1195


Write a command that will display files in the current directory, in a colored, long format.

1274


How many unix commands are there?

1207


Why is it called grep?

1085


Why is shebang used?

1194


Why is grep called grep?

1360


Explain mount and unmount command.

1280


What is the use of egrep command in unix?

1244