We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
日志文件太大,没法使用vi的set nowrap,即使nowrap了,在不清楚每行的字数的情况下,也无法快速定位到异常日志。
使用awk的NF参数来确认字数,使用cut的-c参数来舍弃超长的文本内容(避免刷屏)
tail -f <log_file> | awk -F '' '{print NF, $0}' | cut -c1-200
There was an error while loading. Please reload this page.