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

Answer Posted / siri

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is ‘du’ a command? If so, what is its use?

633


How do I delete files from command prompt?

549


What is a command and examples?

583


What is pipe command in unix?

670


What is the use of awk command in unix?

581






What does this command do? Cat food 1 > kitty

974


What is the search command in unix?

599


Enumerate some of the most commonly used network commands in unix?

616


What is the command to find hidden files in the current directory?

579


Differentiate cmp command from diff command.

586


Why is grep called grep?

777


Explain command to view process running?

611


What are the differences among a system call, a library function, and a unix command?

567


Which unix command lists files/folders in alphabetical order?

614


What are the general commands in using unix os for a beginner?

577