可以使用命令`tail`来查看文件的最后几行。
语法如下:
```
tail -n <行数> <文件名>
例如,如果想要查看文件 `example.txt` 的最后5行,可以使用以下命令:
tail -n 5 example.txt
查看详情