上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: mount -t cifs //192.168.2.145/share /mnt/test -o username=test,password=123456 编辑/etc/fstab //192.168.2.145/share /mnt/test cifs username=test,passwor 阅读全文
posted @ 2024-04-18 09:31 shenshu 阅读(22) 评论(0) 推荐(0)
摘要: https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/OpenSSH/portable/ 阅读全文
posted @ 2024-04-03 11:55 shenshu 阅读(32) 评论(0) 推荐(0)
摘要: cd /usr/share/nginx/html/mkdir -p files/a/b/cvim /etc/nginx/default.d/t1.conf location / { root /usr/share/nginx/html/files; autoindex on; autoindex_e 阅读全文
posted @ 2024-03-29 20:32 shenshu 阅读(125) 评论(0) 推荐(0)
摘要: powershell 执行 irm https://get.activated.win | iex 阅读全文
posted @ 2023-12-30 11:37 shenshu 阅读(340) 评论(0) 推荐(0)
摘要: systemctl start firewalld.service firewall-cmd --permanent --add-port=7000/udpfirewall-cmd --permanent --add-port=7000/tcp #取消放行的80端口 firewall-cmd --z 阅读全文
posted @ 2023-08-29 20:47 shenshu 阅读(97) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/songbiao/p/12470163.html 阅读全文
posted @ 2023-08-17 10:38 shenshu 阅读(27) 评论(0) 推荐(0)
摘要: ### 1、生成自签名证书 ```powershell $certname = "certnameTest" ## Replace {certificateName} $cert = New-SelfSignedCertificate -Subject "CN=$certname" -CertSto 阅读全文
posted @ 2023-08-02 20:22 shenshu 阅读(96) 评论(0) 推荐(0)
摘要: 1. 获取文件中的关键字key: cat fileName | grep "key" 2. 获取文件中的某个关键字key1, key2, key3: cat fileName | grep -E "key1|key2|key3" 3. 获取文件中的多个关键字,同时满足: cat fileName | 阅读全文
posted @ 2023-07-30 20:40 shenshu 阅读(57) 评论(0) 推荐(0)
摘要: echo $(($(date --date="2023-6-20" +%s) /86400+1)) date -u -d "1970-01-01 UTC $((19528*86400))seconds" 输出: 2023年 06月 20日 星期二 00:00:00 UTC 阅读全文
posted @ 2023-06-20 21:12 shenshu 阅读(35) 评论(0) 推荐(0)
摘要: grep ens33 /var/log/messages |grep -i down 阅读全文
posted @ 2023-06-18 11:14 shenshu 阅读(158) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页