ZhangZhihui's Blog  

2024年4月16日

摘要: This is because I forgot doing this: 阅读全文
posted @ 2024-04-16 22:14 ZhangZhihuiAAA 阅读(67) 评论(0) 推荐(0)
 
摘要: #!/bin/bash # Create the server CA certs. openssl req -x509 \ -newkey rsa:4096 \ -nodes \ -days 3650 \ -keyout ca_key.pem \ -out ca_cert.pem \ -subj / 阅读全文
posted @ 2024-04-16 22:06 ZhangZhihuiAAA 阅读(11) 评论(0) 推荐(0)
 
摘要: zzh@ZZHPC:~/aaa$ cat a.sh echo ${BASH_SOURCE[0]} abpath=$(realpath ${BASH_SOURCE[0]}) echo $abpath dir=$(dirname $abpath) echo $dir zzh@ZZHPC:~/aaa$ . 阅读全文
posted @ 2024-04-16 20:29 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0)