Today to test a colleague wrote a shell script, execution of the error when the code is "Action:command not found"
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/97/EE/wKioL1k1HGHTyUhuAAAe51KKRyw564.png "style=" float : none; "title=" Action command not Found.png "alt=" Wkiol1k1hghtyuhuaaae51kkryw564.png "/>
Check script discovery. /etc/init.d/functions "actually been written off, after canceling the comment, proceed to execute the script:
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/97/EE/wKioL1k1HGKyaknHAAAZG5c4vk4560.png "style=" float : none; "title=" bash 2.png "alt=" Wkiol1k1hgkyaknhaaazg5c4vk4560.png "/>
The error disappears and the problem is resolved. Description: Some of the underlying function scripts are placed inside the function file, such as in/etc/init.d/functions, separated from the executed content, and appear to be more refreshing, as is the case with large programming languages.
This article is from the "Frozen vs watermelon" blog, so be sure to keep this source http://molewan.blog.51cto.com/287340/1932437
Shell under Action:command not found