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

Explain command to show the space allocation of files?

1112


How do I run a bash script?

1170


What command will change your prompt to myprompt?

1314


Why is shebang used?

1109


What are grep patterns?

1075


What do chmod command do?

1205


How many unix commands are there?

1141


Name the unix command to find how many days the server has been up.

1159


What is the functionality of a top command?

1098


What is the pipe command?

1172


What is updatedb?

1033


Which command should you use to find the remaining disk space in unix server?

1293


Which command is used to kill the last background job?

1324


What does the “echo” command do?

1143


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

1080