how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / dinesh kumar
awk 'NR=51 Printf{$0}' filename
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Which unix command lists files/folders in alphabetical order?
Why is it called a shebang?
What is the use of cut command in unix?
What is ctrl d?
Enlist some filename manipulation commands in unix.
What is .sh file?
Can you explain a little bit about command substitution?
How do I run a whois command?
What are bash commands?
How do I use grep to find a file?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the use of awk command in unix?
What is unix command line?
What is the command to view process running?
Differentiate cat command from more command.