09 2019 档案
摘要:l本文介绍linux下创建指定大小文件的几种方法。 【truncate】 truncate -s 25M test.file truncate -s 25M test.file 【fallocate】 fallocate -l 25000000 test.file fallocate -l 2500
阅读全文
摘要:【watch】 watch指令可以间歇性的执行程序,将输出结果以全屏的方式显示,默认是2s执行一次。 watch指令下发后,将会一直被执行,直到被中断。 【语法】 watch \ [-d h v t] [-n <seconds>] [--differences[=cumulative]] [--he
阅读全文
摘要:【修改登陆端口】 修改/etc/ssh/sshd.config里面的Port字段 【修改ssh主动登陆默认端口】 修改/etc/ssh/ssh_config里面的Port字段 【修改ssh监听IP】 修改/etc/ssh/ssh_config里面的ListenAddress字段 ListenAddr
阅读全文

浙公网安备 33010602011771号