|
Article on other languages:
|
uname(Unix Nameの略)は UNIX のプログラムであり、実行しているオペレーティングシステムの名前やバージョンなどを出力する。移植性のあるプログラムを書こうとする場合、実行環境の判別できる有用である。uname システムコールとコマンドは PWB/UNIX で最初に出現した。 AT&T UNIX System V Release 3.0 のような一部の Unix では setname というプログラムが含まれ、uname が出力する値を変えるのに使われる。 GNU バージョンの uname は "sh-utils" つまり "coreutils" パッケージに含まれる。uname 自体はスタンドアロンのプログラムとして利用できない。 例Darwin を実行しているシステムでは、-a オプション を付けた Darwin hostname.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386 以下の表ではさまざまなプラットフォームにおけるさまざまなバージョンの
外部リンク
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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