09 2019 档案

摘要: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 流年的夏天 阅读(13407) 评论(0) 推荐(1)
摘要:【watch】 watch指令可以间歇性的执行程序,将输出结果以全屏的方式显示,默认是2s执行一次。 watch指令下发后,将会一直被执行,直到被中断。 【语法】 watch \ [-d h v t] [-n <seconds>] [--differences[=cumulative]] [--he 阅读全文
posted @ 2019-09-25 16:17 流年的夏天 阅读(918) 评论(0) 推荐(0)
摘要:【修改登陆端口】 修改/etc/ssh/sshd.config里面的Port字段 【修改ssh主动登陆默认端口】 修改/etc/ssh/ssh_config里面的Port字段 【修改ssh监听IP】 修改/etc/ssh/ssh_config里面的ListenAddress字段 ListenAddr 阅读全文
posted @ 2019-09-05 15:24 流年的夏天 阅读(307) 评论(0) 推荐(0)