2022年7月19日

摘要: lsof -i:8080:查看8080端口占用 lsof abc.txt:显示开启文件abc.txt的进程 lsof -c abc:显示abc进程现在打开的文件 lsof -c -p 1234:列出进程号为1234的进程所打开的文件 lsof -g gid:显示归属gid的进程情况 lsof +d 阅读全文
posted @ 2022-07-19 16:58 DuoRuaiMi4567 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 安装openbsd-inetd sudo apt-get install openbsd-inetd 安装telnetdsudo apt-get install telnetd vi /etc/inetd.conf 末尾手动添加 telnet stream tcp nowait root /usr/ 阅读全文
posted @ 2022-07-19 16:53 DuoRuaiMi4567 阅读(338) 评论(1) 推荐(0) 编辑
摘要: ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// 阅读全文
posted @ 2022-07-19 15:12 DuoRuaiMi4567 阅读(14) 评论(0) 推荐(0) 编辑

2022年7月15日

摘要: fdisk -l 检查U盘的设备名 fdisk /dev/xxxxx 输入p 输入d 分别删掉所有分区 输入n 创建分区,(创建两个默认分区) 输入w 退出分区操作 mkfs -V -t vfat /dev/sdb1 格式化成vfat文件系统,以便Windows环境也可识别 参考 https://b 阅读全文
posted @ 2022-07-15 18:25 DuoRuaiMi4567 阅读(349) 评论(0) 推荐(0) 编辑
摘要: certutil -hashfile filename MD5 阅读全文
posted @ 2022-07-15 13:53 DuoRuaiMi4567 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 写磁盘速度测试time dd if=/dev/zero of=/testw.dbf bs=4k count=100k conv=fsync读磁盘速度测试time dd if=/testw.dbf of=/dev/null bs=4k 其中/dev/zero是一个伪设备,它只产生空字符流,对它不会产生 阅读全文
posted @ 2022-07-15 11:23 DuoRuaiMi4567 阅读(396) 评论(0) 推荐(0) 编辑

2022年7月7日

摘要: 安装 pigz tar -c --use-compress-program=pigz -f tar.file dir "--use-compress-program ="告诉tar要使用的压缩程序 阅读全文
posted @ 2022-07-07 18:25 DuoRuaiMi4567 阅读(1049) 评论(0) 推荐(0) 编辑
摘要: 以配置清华源为例: cat /etc/os-release查看当前Debian系统的版本 PRETTY_NAME="Debian GNU/Linux 9 (stretch)"NAME="Debian GNU/Linux"VERSION_ID="9"VERSION="9 (stretch)"VERSI 阅读全文
posted @ 2022-07-07 17:51 DuoRuaiMi4567 阅读(137) 评论(0) 推荐(0) 编辑

2022年6月29日

摘要: 1. 使用last命令查看登录服务器的用户记录。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [root@centos8 ~]# last rusking pts/2 192.168.1.102 Sun Aug 23 18:38 still logged in rusking 阅读全文
posted @ 2022-06-29 14:57 DuoRuaiMi4567 阅读(424) 评论(0) 推荐(0) 编辑

2022年6月15日

摘要: ////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// 阅读全文
posted @ 2022-06-15 11:11 DuoRuaiMi4567 阅读(100) 评论(0) 推荐(0) 编辑