摘要:
#!/bin/bash function display_method(){ clearDisplayMetho=0 if [ $displayMethod -eq 0 ]; then echo -e "\033[${color};${backgroup_color}m ${message} \033[${clearDisplayMetho}m" else echo -e ... 阅读全文
摘要:
[root@localhost ~]# cat s2.sh #!/bin/bash color_name="red" red=31 color=`eval echo '$'"${color_name}"` echo ${color} [root@localhost ~]# sh s2.sh 31 [root@localhost ~]# 阅读全文
摘要:
[root@localhost ~]# yum -y install pwgen [root@localhost ~]# pwgen -ncCyB1 8 1 kei%b3Xa [root@localhost ~]# pwgen -ncCyB1 8 2 Ahs3eib' Yo>u7eun [root@localhost ~]# [root@localhost ~]# echo $RANDO... 阅读全文