# 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:** 2

<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 16, 2021, 9:48pm UTC](https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575/2 "2021-01-16T21:48:21Z")

</div>

I remember there should not be problem, you can see here : (maybe without the /bin/sh??? )

> [@Core dump when running script to get a file](https://forum.legato.io/t/core-dump-when-running-script-to-get-a-file/3158/16):
>
> No, because this is a public forum and for security measures it has keys in the script. But you can do it by creating an AWS S3 resource and putting a 6 Meg file there. Here is the template script: #!/bin/sh outputFile=“Your\_PATH” amzFile=“AMAZON\_FILE\_PATH” bucket=“YOUR\_BUCKET” resource=“/${bucket}/${amzFile}” contentType=“application/x-compressed-tar” dateValue=date -R stringToSign=“GET\n\n${contentType}\n${dateValue}\n${resource}” s3Key=“YOUR\_S3\_KEY” s3Secret=“YOUR\_S3SECRET” signa…

---

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