Skip to content

Instantly share code, notes, and snippets.

@usual-tools
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save usual-tools/9065494 to your computer and use it in GitHub Desktop.

Select an option

Save usual-tools/9065494 to your computer and use it in GitHub Desktop.
bash で Hello World
#!/bin/sh
echo "Hello World ! Try72"
# 設定
$ ls -lF
total 4
-rw----r-- 1 user group 38 Feb 18 22:49 hello.sh
$ chmod 700 hello.sh
$ ls -lF
total 4
-rwx------ 1 user group 38 Feb 18 22:49 hello.sh*
# 実行
$ ./hello.sh
Hello World ! Try72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment