next up previous
: type コマンド : コマンド : rmdir(ディレクトリの消去,ReMove DIRectory)

which コマンド

コマンドは,通常ファイルとして,ファイルシステムのどこかに存在している 2その場所(どのディレクトリにあるか)を調べるのが which コマンドである.
\begin{itembox}[l]{{\tt more} コマンドの場所}
\begin{alltt}
\relax{} prompt% \un...
...yle\hookleftarrow\)\hfill\crcr}}
\\ /bin/more
\\ \relax \end{alltt}\end{itembox}
これにより, more コマンドは /bin/more,つまり, ルートディレクトリ (/) の下, bin ディレクトリ (/bin) の下 にあることがわかる.

chmod コマンドも,同じディレクトリにある.
\begin{itembox}[l]{{\tt chmod} コマンドの場所}
\begin{alltt}
\relax{} prompt% \u...
...le\hookleftarrow\)\hfill\crcr}}
\\ /bin/chmod
\\ \relax \end{alltt}\end{itembox}



Yasushi KODAMA 平成12年6月4日