fri*_*iwi 6 linux text text-manipulation
如何从Linux上的文本日志中获取最新的100MB?有没有它的工具,或者你能指出我的脚本吗?
我没有Shell Scripting,Perl或Python的编程经验,我不想安装单声道,所以我可以用C#编写它.
谢谢!!
Yvan Janssens
Col*_*ert 11
你可以试试这个:
tail -c 104857600 yourFile
Run Code Online (Sandbox Code Playgroud)
或者如果你更舒服:
tail -c $[1024*1024*100] yourFile
Run Code Online (Sandbox Code Playgroud)
资源: