shell
#!/bin/sh DIR=`pwd` echo $DIR 「`」(シングルクオートではない)という記号を使うのと、 「=」の前後にスペースを入れないのがポイントですね。
#!/bin/sh #標準入力 echo "Please type a command." read command if test "$command" = "quit"; then echo "good bye!" exit 0
#!/bin/sh expr "choconta" : ".*oco.*"
#!/bin/sh : << '#COMMENT_OUT' (コメントアウトしたい文1) (コメントアウトしたい文2) ・・・ #COMMENT_OUT
#!/bin/sh echo "What's your name?" read YOUR_NAME echo "Hello $YOUR_NAME"