at
一次性显示文件所有内容,更适合查看小的文件
cat cloud-init.log
【常用参数】
-n 显示行号;
-n
less分页显示文件内容,更适合查看大的文件
less
less cloud-init.log