- or download this
$ cat hello.sh
#!/usr/bin/bash
echo "hello world!"
- or download this
$ perl -e '$command = "./hello.sh"; $out = `$command`; print $out, "\n
+";'
- or download this
$ perl -e '$command = "./hello.sh"; $out = `bash $command`; print $out
+, "\n";'
hello world!
- or download this
$ perl -e '$command = "bash ./hello.sh"; $out = `$command`; print $out
+, "\n";'
hello world!