I have a simple bash script named
text.sh which looks like this:
#!/bin/bash read username read password echo "script attempted with $username $password"
I want to call it using something like this:
[email@example.com root]# ./test.sh bing s3cr3t
And have it echo back:
script attempted with bing s3cr3t
I can use
<<< to get
bing to print, but not both. I'm sure this is simple, but my Google-fu is failing since I don't know what keywords to search for.