how to find the 51th record of a file containing 100 records
in unix.
Answers were Sorted based on User's Feedback
Answer / sundar octavious
head -51 <filename> |tail -1
The above command will display the answer.
Is This Answer Correct ? | 33 Yes | 1 No |
Through which command will redirect output to bOth screen and files at the same time?
what are the uses of filters?
How does the user view the contents of a text file in UNIX?
Where LOG fiels resides in AIX and pls tel me how to remove the log file
what are the different commands used to view the contents of a file?
Explain ‘library functions’ with respect to unix commands?
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
how will you login one server's shell prompt to an another server?
5 Answers Cosmic Infotech, Perot Systems,
Which command is used to kill the last background job?
what is the default permission for /etc/shadow file in UNIX
what is the command to find out which shell you are running?
what is the use of uniq commmand?