|
シバンまたはシェバン (shebang) とはUNIXのスクリプトの#!から始まる1行目のこと。起動してスクリプトを読み込むインタプリタを指定する。 例パスを直接指定する。Bourne shellの例。 #!/bin/sh echo 'Hello world!' /usr/bin/env を使えばパスを直接指定する必要はなくなるが、インタプリタにコマンドライン引数としてオプションを渡すことができない。Rubyの例。 #!/usr/bin/env ruby puts 'Hello world!' |
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net