Current Working Directory
$PWD
contains the absolute pathname of the current working directory.
The pwd
command is helpful to work with the working directory.
Live Templates
The dir_posix
and dir_bash
live template insert a command to retrieve the full to the directory, where the current script is located:
|
|
BashSupport Pro is a Bash IDE with support for $PWD – try it now!