Can I upload terminal shell script?

I developed some automation shell script. Can I upload ?

You can package shell scripts as a snap, for example:

Is there any documentation to package shell script ?

just follow:

and replace the hello command in there with your shell script …

1 Like

Note that in strict confinement your shell script can only access commands shipped altogether with the snaps.


1 Like

that’s not strictly true; a lot of utilities from the core snap (think grep, awk, etc) are whitelisted for use from snaps.

1 Like