何度も特定の親ディレクトリのサブディレクトリへ cd を実行している場合、 その親ディレクトリに対して CDPATH をセットすることができます。 以下に説明するように親ディレクトリを指定せずにサブディレクトリへの cd を実行できます。 [ramesh@dev-db ~]# pwd /home/ramesh [ramesh@dev-db ~]# cd mail -bash: cd: mail: No such file or directory [Note: これは現在のディレクトリ下に mail ディレクトリがあるかを検索しています] [ramesh@dev-db ~]# export CDPATH=/etc [ramesh@dev-db ~]# cd mail /etc/mail [Note: これは /etc ディレクトリしたに mail があるかを検索しています。現在のディレクト