CharlsLin / CareerExperience

1 stars 0 forks source link

#3 frequently used Linux commands #3

Open CharlsLin opened 4 years ago

CharlsLin commented 4 years ago
  1. 查阅正在改变的日志文件
    tail -f filename

    tail: 尾部 -f: 循环读取 filename: 完整文件名,包括文件后缀

example:

tail -500f error.log