# Invoking shell scripts from Legato app

**URL:** <https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575>\
**Category:** Legato Application Framework\
**Created:** [January 16, 2021, 9:25pm UTC](https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575 "2021-01-16T21:25:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 19, 2021, 2:43am UTC](https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575/4 "2021-01-19T02:43:45Z")

</div>

I don’t see problem on WP76 FW R13.  
You can use my hello6.tar.gz.  
[hello6.tar.gz](https://forum.legato.io/uploads/short-url/czj2K4NaAp4M02tLAjqZGY8p95w.gz) (314.7 KB)

root@swi-mdm9x28-wp:~# chmod 777 /tmp/test.sh  
root@swi-mdm9x28-wp:~# /tmp/test.sh  
root@swi-mdm9x28-wp:~# ls /tmp/123.txt  
/tmp/123.txt  
root@swi-mdm9x28-wp:~# cat /tmp/123.txt  
123  
root@swi-mdm9x28-wp:~# rm /tmp/123.txt  
root@swi-mdm9x28-wp:~# ls /tmp/  
hello6.wp76xx.update legato test.sh  
hosts pkgdwl thermal\_engi\_ipc  
ld.so.cache psm\_socket tmpfdbtable.txt  
ld.so.conf sock0  
root@swi-mdm9x28-wp:~# update /tmp/hello6.wp76xx.update  
Unpacking package: 100% ++++++++++++++++++++++++++++++++++++++++++++++++++  
Applying update: 100% ++++++++++++++++++++++++++++++++++++++++++++++++++  
SUCCESS  
root@swi-mdm9x28-wp:~# app status  
[running] atAirVantage  
[running] atQmiLinker  
[running] atService  
[running] audioService  
[running] avcService  
[running] cellNetService  
[running] dataConnectionService  
[running] fwupdateService  
[running] gpioService  
[running] modemService  
[running] portService  
[running] positioningService  
[running] powerMgr  
[running] qmiAirVantage  
[running] secStore  
[stopped] smsInboxService  
[stopped] spiService  
[stopped] tools  
[stopped] voiceCallService  
[stopped] wifi  
[stopped] wifiApTest  
[stopped] wifiClientTest  
[running] wifiService  
[stopped] wifiWebAp  
[stopped] hello6  
root@swi-mdm9x28-wp:~# ls /tmp/  
hello6.wp76xx.update legato test.sh  
hosts pkgdwl thermal\_engi\_ipc  
ld.so.cache psm\_socket tmpfdbtable.txt  
ld.so.conf sock0  
root@swi-mdm9x28-wp:~# app start hello6  
root@swi-mdm9x28-wp:~# ls /tmp/  
123.txt ld.so.conf sock0  
hello6.wp76xx.update legato test.sh  
hosts pkgdwl thermal\_engi\_ipc  
ld.so.cache psm\_socket tmpfdbtable.txt  
root@swi-mdm9x28-wp:~#

---

_[View the full topic](https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575)._
