Which of the following is the illegal command?
-
head +17 File.dat
-
head -17 File.dat
-
tail +17 File.dat
-
tail -17 File.dat
A
Correct answer
Explanation
The head command with a numeric argument requires a negative sign to specify the number of lines. Option B (head -17) correctly shows the first 17 lines, while option A uses +17 which is invalid syntax. Options C and D show tail command syntax, which does support + for counting from line N.