bug_x

导航

 

2021年11月3日

摘要: 1\ yum -y install openvpn OpenVPN 安装完成后会在 /etc/openvpn 生成对应的文件 2、配置完之后大概这个样子: 其中passwd 账号密码文件,需要新建,第一行账号,第二行是密码 *.key *.ovpn *.p12 是其他服务器提供的文件 3、启动服务: 阅读全文
posted @ 2021-11-03 17:18 bug_x 阅读(1) 评论(0) 推荐(0) 编辑
 
摘要: 1、ls |tail >out1.txt eg: ps -ef | grep redis-server | grep -v grep | awk '{print $2}' 2、子shell法 output=$( ls |cat -n ) 3、反引用: output1=`ls|cat -n` echo 阅读全文
posted @ 2021-11-03 16:54 bug_x 阅读(880) 评论(0) 推荐(0) 编辑