InterviewSolution
Saved Bookmarks
| 1. |
Which option is used with the head command to specify line count to display?(a) -a(b) -h(c) -n(d) -oI got this question in quiz.The above asked question is from Filtering Commands topic in chapter Simple Filters of Unix |
|
Answer» RIGHT CHOICE is (C) -n The explanation: We can use the -n OPTION with the head command to specify a LINE count and display a specific number of lines of the file. -n option is followed by an integer value which donates the number of lines to be displayed. For example, |
|