🐧 Shell Command - Standard

by Patrick Corgan

Version 2 (October 8, 2019)

Download (125 downloads)

𝘉𝘺 𝘗𝘢𝘵𝘳𝘪𝘤𝘬 𝘊𝘰𝘳𝘨𝘢𝘯
Allows you to send a command (or multiple commands) to the Linux shell as a standard user, and displays any output.
To send more than one command, just put each command on its own line. Commands will be executed in the same shell instance, in the order entered, as entered - warts and all. No attempt whatsoever is made to correct or change punctuation, capitalization, escaping, etc.

𝗡𝗼𝘁𝗲𝘀
-Output from multiple commands will be displayed together, with no indication of which command produced what output (or even where one output ends and the next begins), except that multiple outputs are presented in the same order as the commands that produced them. Example:
ls
cd /
ls
-Any errors will not prevent subsequent commands from being executed, although any error messaged generated will still be displayed. Example:
cd No_such_file_or_directory
ls
-When multiple commands are issued, the displayed exit code is from the last command in the list. Compare to above:
ls
cd No_such_file_or_directory

Superuser version: https://llamalab.com/automate/community/flows/18752

⚡𝘊𝘰𝘯𝘴𝘵𝘳𝘶𝘤𝘵𝘪𝘷𝘦 𝘤𝘰𝘮𝘮𝘦𝘯𝘵𝘴 𝘢𝘯𝘥 𝘤𝘳𝘪𝘵𝘪𝘤𝘪𝘴𝘮𝘴 𝘢𝘳𝘦 𝘢𝘭𝘸𝘢𝘺𝘴 𝘸𝘦𝘭𝘤𝘰𝘮𝘦. 𝘛𝘩𝘢𝘯𝘬 𝘺𝘰𝘶!⚡

Version 2:
-Added basic error trapping.
-Added support for multiple commands.
-Minor UI changes.