2021-02-21 シェルスクリプト Linux Programing 利用しているシェルを確認する $ echo $SHELL /bin/bash シェルスクリプトを作る hello_world.sh #!/bin/bash echo "Hello World!!" 1行目の「#!/bin/bash」は、shebang(シバン/シェバン)と呼ばれ、実行時にインタプリタを 指定するもの。 シェルスクリプトに実行権を与える $ chmod 744 ./hello_world.sh