==> hello <== #!/bin/bash echo "Hello, your name is "; ==> fileinfo <== #!/bin/bash for F in $* do echo "=== $F ===" ls -l "$F" file "$F" echo done ==> outputtovar <== #!/bin/bash FOO=$(hostname) echo $FOO $ nano foo $ chmod a+x foo $ ./foo
==> hello <== #!/bin/bash echo "Hello, your name is "; ==> fileinfo <== #!/bin/bash for F in $* do echo "=== $F ===" ls -l "$F" file "$F" echo done ==> outputtovar <== #!/bin/bash FOO=$(hostname) echo $FOO $ nano foo $ chmod a+x foo $ ./foo