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
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 |
How to rename files and folders?
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
In UNIX, what is the command to edit contents of the file?
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?
Write a command that will display files in the current directory, in a colored, long format.
distinguish between user mode and kernel mode?
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
What is rmdir command?
What is the use of pipes?
What are file commands?