How do you pass in command line arguments to


I was wondering how you would execute this command: curl -sSL | sudo bash -s no-auto ui-bind-port=8000 if the script was already downloaded via sudo bash ./

sudo bash -s no-auto ./
Doesn’t seem to work.

Getting this from:

Additionally how do I pass in text to stdin? I am trying to script the installation and test it with various inputs and can’t seem to get it to work.


When running script from a file, you can pass command line arguments as you would with any program

sudo bash ./ no-auto ui-bind-port=8000

You can also sub curl with cat to use the same command format

cat ./ | sudo bash -s no-auto ui-bind-port=8000

I’m not sure what you mean by “pass in text to stdin”. Can you show an example of what you are trying to do?