《问》How to display the paths in $PATH separately

《问》

How to display the paths in $PATH separately

COMMAND

echo "${PATH//:/$'\n'}"

OUTPUT

/bin
/usr/bin
/usr/local/bin


Comments

Popular posts from this blog

英语字母a的发音