Han-Gang / test

test
0 stars 0 forks source link

抽取参数自动执行shell #29

Open Han-Gang opened 5 years ago

Han-Gang commented 5 years ago

mysql -hifconfig | grep inet | grep -v inet6|grep -v 127\.0\.1\.1 | grep -v 127\.0\.0\.1| sed 's/^[ \t]*//g' | cut -d ' ' -f2 | cut -d ':' -f2 |head -n 1 -P$(grep parameter1 files1.grep parameter2 file2| cut -d '"' -f 2.cfg |cut -d '=' -f 2)

Han-Gang commented 5 years ago

mysql -h ifconfig | grep inet | grep -v inet6|grep -v 127.0.1.1 | grep -v 127.0.0.1| sed 's/^[ \t]*//g' | cut -d ' ' -f2 | cut -d ':' -f2 |head -n 1-P$(grep parameter1 files1.grep parameter2 file2| cut -d '"' -f 2 .cfg |cut -d '=' -f 2)

Han-Gang commented 5 years ago

mysql -h ifconfig | grep inet | grep -v inet6|grep -v 127.0.1.1 | grep -v 127.0.0.1| sed 's/^[ \t]*//g' | cut -d ' ' -f2 | cut -d ':' -f2 |head -n 1-P$(grep parameter1 files1.grep parameter2 file2| cut -d '"' -f 2 `.cfg |cut -d '=' -f 2)

`

Han-Gang commented 5 years ago