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?

Answers were Sorted based on User's Feedback



If we want to see first 35 lines of a file which command we have to use?..

Answer / jsdkar

head -35 filename

Is This Answer Correct ?    35 Yes 0 No

If we want to see first 35 lines of a file which command we have to use?..

Answer / ranjan

sed -n'1,35 p' filename

or

head -35 filename

Is This Answer Correct ?    7 Yes 0 No

If we want to see first 35 lines of a file which command we have to use?..

Answer / sowmya

head -35 filename

Is This Answer Correct ?    6 Yes 3 No

If we want to see first 35 lines of a file which command we have to use?..

Answer / umesh

cat filename | head -35

Is This Answer Correct ?    3 Yes 0 No

If we want to see first 35 lines of a file which command we have to use?..

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

If we want to see first 35 lines of a file which command we have to use?..

Answer / siri

sed -n '1,35p' filename;
head -35 filename;

Is This Answer Correct ?    0 Yes 0 No

If we want to see first 35 lines of a file which command we have to use?..

Answer / sujata

sed -n'35' p filenmae;

Is This Answer Correct ?    4 Yes 5 No

If we want to see first 35 lines of a file which command we have to use?..

Answer / rajesh mallick(cap)

pr -35 filename

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More Unix Commands Interview Questions

How to rename files and folders?

7 Answers   IBM, Oracle,


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

7 Answers   Alcatel, Cisco, Infosys, University Exams,


describe the escaping sequence characteres in unix

1 Answers  


In UNIX, what is the command to edit contents of the file?

9 Answers  


How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.

3 Answers   Amazon, MBA, Syntel, TCS, Unisys,


What does pipe () return?

0 Answers  


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

0 Answers  


distinguish between user mode and kernel mode?

4 Answers   Infosys,


What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?

6 Answers   Deloitte, Polaris,


What is rmdir command?

0 Answers  


What is the use of pipes?

4 Answers  


What are file commands?

0 Answers  


Categories