随笔分类 - shell
摘要:docker ps | grep portal | awk '{print $2}' | cut -d ":" -f3 used=`docker ps | grep portal | awk '{print $2}' | cut -d ":" -f3` echo $used docker image
阅读全文
摘要:#!/bin/bash funWithParam(){ echo "scname:$0" echo "The value of the first parameter is $1 !" echo "The value of the second parameter is $2 !" echo "The value of the 100th parameter is...
阅读全文