Re: Re: rtems shell script

2018-04-12 Thread bin.w...@qkmtech.com
...@qkmtech.com From: bin.w...@qkmtech.com Date: 2018-04-12 16:12 To: Chris Johns; Users Subject: Re: Re: rtems shell script hi chris: i know where i am wrong , "#! joel" there is a space in the "!" and the "joel",but at first i do not add the space. and the file can

Re: Re: rtems shell script

2018-04-12 Thread bin.w...@qkmtech.com
ow i can execute the script successfully ,thank you very much , but i can not see the echo in my shell output. how can i see my command output just like i put one command in the shell ? best ben bin.w...@qkmtech.com From: bin.w...@qkmtech.com Date: 2018-04-12 15:58 To: Chris Johns; Users Subj

Re: rtems shell script

2018-04-12 Thread Chris Johns
On 12/04/2018 17:58, bin.w...@qkmtech.com wrote: > On 12/04/2018 17:40, Chris Johns wrote > >>It can. You need to add "#! joel" as the first line and you need to set an >>appropriate the execute bit, that is user, group or other. > > > thank you very much  > > as you said i add "#! joel"as the

Re: Re: rtems shell script

2018-04-12 Thread bin.w...@qkmtech.com
--- best ben bin.w...@qkmtech.com From: Chris Johns Date: 2018-04-12 15:40 To: bin.w...@qkmtech.com; Users Subject: Re: rtems shell script On 12/04/2018 17:29, bin.w...@qkmtech.com wrote: > hi everyone: > this is my shell cmdline > -

Re: rtems shell script

2018-04-12 Thread Chris Johns
On 12/04/2018 17:29, bin.w...@qkmtech.com wrote: > hi everyone: > this is my shell cmdline > - > [/] # cd scripts > [/scripts] # ls > prfjog.txt > [/scripts] # prfjog.txt > Unable to execute /scripts/prfjog.txt > [/scripts] # ./prfjog.txt > Unable

Re: rtems shell script

2018-04-12 Thread bin.w...@qkmtech.com
--- i do not know whether rtems shell can execute a script? best ben bin.w...@qkmtech.com From: bin.w...@qkmtech.com Date: 2018-04-12 15:25 To: Users Subject: rtems shell script hi everyone: i want to execute a shell script in the rtems shell. so i write a simple