linux甯哥敤鍛戒护--宸ヤ綔璁板綍20201126

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux甯哥敤鍛戒护--宸ヤ綔璁板綍20201126相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/profile' title='profile'>profile   int   hid   print   gac   blog   mac   man   net   

鐢╯ed鍛戒护鎬庝箞鎵撳嵃鏂囦欢涓殑鏈€鍚庝竴琛?https://zhidao.baidu.com/question/1431848772803799419.html 鎵ц涓嬮潰2涓懡浠?1銆乤wk 鈥楴F{a=$0}END{print a}鈥?file.txt 2銆乻ed 鈥?^$/!h;$!d;g鈥?file.txt
鍦ㄤ笅杞戒簡涓€涓ぇ鏂囦欢涔嬪悗锛岄渶瑕佸浠栬繘琛屾媶鍒?[root@uhadoop-mzwc2w-master2 hadoop-yarn]# split -b 50M yarn-hadoop-resourcemanager-uhadoop-mzwc2w-master2.log.12_20190708 20190707resourcemanagerlog

split鍛戒护璇﹁В https://www.cnblogs.com/machangwei-8/p/9570866.html
[root@uhadoop-mzwc2w-master2 hadoop-yarn]# ll
total 2326868
-rw-r--r-- 1 root   root   52428800 Jul 11 15:21 20190707resourcemanagerlogaa
-rw-r--r-- 1 root   root   52428800 Jul 11 15:21 20190707resourcemanagerlogab
-rw-r--r-- 1 root   root        237 Jul 11 15:21 20190707resourcemanagerlogac
Linux绯荤粺涓嬪垹闄や贡鐮佹枃浠舵垨鑰呯洰褰曪紝rm鍒犻櫎涓嶄簡
https://blog.csdn.net/llbacyal/article/details/24411803

鍏跺疄鍙互鏍规嵁绱㈠紩鑺傜偣(i鑺傜偣) 杩涜鍒犻櫎銆?ll -i

792812 -rw-r--r--  1 root root    8560 Sep 10  2018 ping.sh
786451 -rw-r--r--  1 root root    2854 Dec 28  2018 profile
796847 drwxr-xr-x  2 root root    4096 Jun 11 14:03 scripts
792725 -rw-r--r--  1 root root       0 Jul 11 18:33 ]??Z?3?u?7??
[root@uhadoop-mzwc2w-master1 ~]# find . -inum 792725 -exec rm {} -rf ;
[root@uhadoop-mzwc2w-master2 hadoop-yarn]# split -b 50M yarn-hadoop-resourcemanager-uhadoop-mzwc2w-master2.log.12_20190708 20190707resourcemanagerlog 

split鍛戒护璇﹁В https://www.cnblogs.com/machangwei-8/p/9570866.html  

以上是关于linux甯哥敤鍛戒护--宸ヤ綔璁板綍20201126的主要内容,如果未能解决你的问题,请参考以下文章

Linux甯哥敤鍛戒护

Linux甯哥敤鍛戒护

Linux甯哥敤鍛戒护

linux鏃ュ父甯哥敤鍛戒护鏁寸悊

鏁寸悊浜哃inux甯哥敤鍛戒护鍙橀噺

GitLab 甯哥敤鍛戒护