摘要: #!/bin/bash . /etc/init.d/functions check_fun(){ url_list=(www.baidu.com www.tudou.com www.youku.com www.xxx22sfq2.com www.asdqwe.com) for i in ${url_ 阅读全文
posted @ 2020-01-08 11:06 相磊 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 了解到几种加密密码的方式 myPassword用你想用的密码字符串代替 1.有OpenSSL的话,可以使用openssl命令: openssl passwd -crypt myPassword 2、如果用Apache Web服务器,那么也可以用htpasswd htpasswd -nd user 用 阅读全文
posted @ 2020-01-08 10:43 相磊 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 用途: 通过http、ftp等方式下载文件,或者是上传文件 和 wget类似 1. 实例 测试 网络 可以通过 man 参数查询curl参数的具体使用 1 [root@localhost ~]# man curl -a/--append 上传文件时,附加到目标文件 -A/--user-agent < 阅读全文
posted @ 2020-01-08 10:40 相磊 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 1 2 [root@localhost ~]# uuidgen 6393ddf2-84ee-4f9b-b38e-0355356778ba 1 2 [root@ localhost ~]# cat /proc/sys/kernel/random/uuid fb9370df-d629-4ece-a45e 阅读全文
posted @ 2020-01-08 10:37 相磊 阅读(462) 评论(0) 推荐(0) 编辑