nginx.log是一个日志文件,现在想将日志的最新输出实时打印在屏幕上,用哪个命令可以实现:
cat -f nginx.log
tee -f nginx.log
head -f nginx.log
tail -f nginx.log