: In a non-interactive shell, this will abort the current script. In an interactive shell, this will just p... uates to $DIRSTACK if it is non-null or $PWD (the current directory) if it is null.
Table 4.1: Substitution... print varname: followed by message, and abort the current command or script. Omitting message produces the ... t echos each directory from the root down to the "current working directory":
p=$(pwd) until [ $p = $d ];