摘要: l本文介绍linux下创建指定大小文件的几种方法。 【truncate】 truncate -s 25M test.file truncate -s 25M test.file 【fallocate】 fallocate -l 25000000 test.file fallocate -l 2500 阅读全文
posted @ 2019-09-25 17:47 流年的夏天 阅读(13337) 评论(0) 推荐(1)
摘要: 【watch】 watch指令可以间歇性的执行程序,将输出结果以全屏的方式显示,默认是2s执行一次。 watch指令下发后,将会一直被执行,直到被中断。 【语法】 watch \ [-d h v t] [-n <seconds>] [--differences[=cumulative]] [--he 阅读全文
posted @ 2019-09-25 16:17 流年的夏天 阅读(907) 评论(0) 推荐(0)