<|im_start|>user
How can I quickly view the first 10 lines of a log file?<|im_end|>
<|im_start|>assistant
head -n 10 logfile.txt<|im_end|>

<|im_start|>user
How can I quickly view the first 10 lines of a log file?<|im_end|>
<|im_start|>assistant
cat logfile.txt | head -n 10<|im_end|>

How can I quickly view the first 10 lines of a log file?