07 2021 档案
摘要:1、简单查看内存信息 [root@rabbitmq1 ~]# free -h total used free shared buffers cached Mem: 94G 82G 11G 2.6M 1.8G 36G -/+ buffers/cache: 43G 50G Swap: 0B 0B 0B
阅读全文
摘要:while 语句 while 循环用于不断执行一系列命令,也用于从输入文件中读取数据。其语法格式为: 实例: #!/bin/bash int=1 while(( $int<=5 )) do echo $int let "int++" done 运行脚本,输出: 1 2 3 4 5 if else-i
阅读全文

浙公网安备 33010602011771号