Directories Used by “cd”

A colon-separated list of directories used as a search path for the cd builtin command.

Examples

Make cd always look into $HOME when the directory wasn’t found in the current directory :

1
export CDPATH=".:$HOME"
BashSupport Pro 是一个 支持 $CDPATH 的 Bash 集成开发工具 – 马上试用!
© 2020–2022 Joachim Ansorg
声明
隐私政策
许可条款