Horje
grep for substring Code Example
grep for substring
output=$(command)
[[ $output =~ (CpuIowait=[0-9][.][0-9]{2}) ]] && echo "${BASH_REMATCH[1]}"




Shell

Related
git get data from the repo Code Example git get data from the repo Code Example
git view modified lines Code Example git view modified lines Code Example
run powershell script by clicking Code Example run powershell script by clicking Code Example
bash script write linux Code Example bash script write linux Code Example
To install Scrapy on Ubuntu (or Ubuntu-based) systems Code Example To install Scrapy on Ubuntu (or Ubuntu-based) systems Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10