摘要:
for_null.sh内容: 1 #!/bin/bash 2 #for null line 3 #version 1.0 by feng 4 5 IFS=$'\n' 6 for i in `cat $1` 7 do 8 if [ ${#i} -eq 0 ];then 9 echo "the line 阅读全文
2020年4月25日 #
摘要:
vim while_create_user.sh 1 #!/usr/bin/bash 2 3 #while create user 4 5 #v1.0 by xfeng 6 7 while read line 8 9 do 10 11 if [ ${#line} -eq 0 ];then #变量的字 阅读全文
摘要:
1、创建用户 useradd01.sh 1 #!/bin/bash 2 3 ############################### 4 5 #useradd # 6 7 #v1.0 by userf 2019.08.0 # 8 9 ############################## 阅读全文
摘要:
cat yum_if.sh 1 #!/bin/bash 2 3 4 #if for many branches yum 5 #version 1 by feng 6 7 yum_server=192.168.0.117 8 Os_version=$(cat /etc/redhat-release | 阅读全文