Next: , Previous: print, Up: Commands


3.16 pwd

The pwd command prints the name of the working directory to the screen.

Note that if you wish to store the current directory into a string variable or use it in string expressions, then you can use variable GPVAL_PWD, see `show variables all`. This overcomes shell call by means of "pwd".