how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / dinesh babu
awk '{if (NR==51) print$0}' filename
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you grep recursively?
Who wrote grep?
How many unix commands are there?
How do you grep a case insensitive?
How do you repeat a command in terminal?
What is the use of find command in unix?
What does awk stand for?
What will the following command do?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Is ‘du’ a command? If so, what is its use?
What is the use of cut command in unix?
Which command should you use to find the remaining disk space in unix server?
What does the command '$ls | wc –l > file1' do?
What does grep v grep do?
Who command in unix operating system?