Web サーバーのログには 200 万行が含まれます。セキュリティ アナリストは、4,600 行から始まる次の 500 行を取得したいと考えています。次のコマンドのうち、セキュリティ アナリストがこの目的を達成するのに役立つものはどれですか?
正解:D
Explanation the cat command displays the contents of a file, the head command displays the first lines of a file, and the tail command displays the last lines of a file. To display a specific number of lines from a file, you can use a minus sign followed by a number as an option for head or tail. For example, head -10 will display the first 10 lines of a file. To obtain the next 500 lines starting from line 4,600, you need to use both head and tail commands. https://www.professormesser.com/security-plus/sy0-601/sy0-601-video/file-manipulation-tools/