<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }ol, ul { margin-top: 0px; margin-bottom: 0px; list-style-position: inside; }div.foxdiv20180412152719133214 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div>hi everyone:</div><div>this is my shell cmdline</div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">-----------------------------------------------------</span></div><div><span></span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">[/] # cd scripts<br>[/scripts] # ls<br>prfjog.txt<br>[/scripts] # prfjog.txt<br>Unable to execute /scripts/prfjog.txt<br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">[/scripts] # ./prfjog.txt<br>Unable to execute /scripts/prfjog.txt<br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">---------------------------------------------------------------</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">i do not know whether rtems shell can execute a script?</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">best</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">ben</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>bin.wang@qkmtech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:bin.wang@qkmtech.com">bin.wang@qkmtech.com</a></div><div><b>Date:</b> 2018-04-12 15:25</div><div><b>To:</b> <a href="mailto:users@rtems.org">Users</a></div><div><b>Subject:</b> rtems shell script</div></div></div><div><div class="FoxDiv20180412152719133214">
<div><span></span>hi everyone:</div><div><br></div><div>i want to execute a shell script in the rtems shell. </div><div><br></div><div>so i write a simple shell script which include some shell command defined by myself </div><div><br></div><div>and i put the script file into the IMFS's  script  directory which i created , i put it to the directory by the ftp  </div><div><br></div><div>but how can i run the script?</div><div><br></div><div>the  accessory is my scirpt file , the comand in the script file  is  which i defined by myself, one line has one command .</div><div><br></div><div>is anyone can help?</div><div><br></div><div>thank you very much</div><div><br></div><div>best</div><div>ben</div><ul style="margin: 0px; padding: 0px; border: 0px; outline: 0px; list-style: none; color: rgb(67, 67, 67); font-family: Tahoma, Arial; font-size: 12px; line-height: 24px; background-color: rgb(242, 242, 242);"><li style="margin: 0px; padding: 0px; border: 0px; outline: 0px; list-style: none;"><a class="clickable js-inline-clickable" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; cursor: pointer; color: rgb(53, 161, 212);">accessory</a></li></ul>
<div><br></div><hr style="WIDTH: 210px; HEIGHT: 1px" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>bin.wang@qkmtech.com</div></div></span></div>
</div></div></blockquote>
</body></html>