从51reboot截取reboot使用正则 awk正则 a='51reboot'|echo $a|awk -F '51' '{print $2}' 转载于:https://blog.51cto.com/461205160/1907128