Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

lpwd - Show local working directory

&pagelevel(4)&pagelevel

The lpwd command returns the name of the current local working directory. The localworking directory is set by means of the lcd command.

lpwd



Example

  1. Query the local working directory.

    lpwd
    Local directory is :5:$TCPTEST.
    
  2. Change the local working directory by adding the partial qualifier MAN.SAM.

    lcd man.sam
    Local directory now :5:$TCPTEST.MAN.SAM.
    lpwd 
    Local directory is :5:$TCPTEST.MAN.SAM.
    
  3. Change the working directory in the POSIX file system.

    lcd %POSIX
    local directory now /home/usr/tcp.
    lpwd
    local directory is /home/usr/tcp.