linux コマンド cd

RANKING

linux コマンド cd につてです。

RANKING




ディレクトリの移動を行うためのコマンドです。


bash$ help cd
cd: cd [dir]
    Change the current directory to DIR. 
  The variable $HOME is the default DIR. 
  The variable $CDPATH defines the search path for
    the directory containing DIR.  Alternative directory names are
    separated by a colon (:).  A null directory name is the same as
    the current directory, i.e. `.'.  If DIR begins with a slash (/),
    then $CDPATH is not used.  If the directory is not found, and the
    shell variable `cdable_vars' exists, then try the word as a variable
    name.  If that variable has a value, then cd to the value of that
    variable.

bash$ cd ..
bash$ pwd
/
bash$ cd home
bash$ pwd
/home





||  パイプ 1つ目のコマンド 実行失敗 2つ目のコマンド 実行
linux コマンド 勉強 linuxのコマンドについてです。
linux コマンド 勉強 pwd
linux コマンド ls
linux コマンド mkdir


トラックバック(0)

トラックバックURL: http://websky21.com/MT/mt-tb.cgi/1261

コメントする

このブログ記事について

このページは、naotoが2009年11月10日 16:47に書いたブログ記事です。

ひとつ前のブログ記事は「linux コマンド 勉強 pwd」です。

次のブログ記事は「linux コマンド ls」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。