Link to home
Start Free TrialLog in
Avatar of idOle
idOle

asked on

print current local directory

Hi,

Is there a counterpart for "pwd" command by which I can print out the current LOCAL directory? Like before "lcd", I will have to know where my current local directory is in order to go to a local directory, what if for any reason that I don't?

Thanks for reading this new-bie question.
Avatar of dhoffman_98
dhoffman_98
Flag of United States of America image

For a whopping 20 points...

LPWD

Avatar of idOle
idOle

ASKER

ftp> lpwd
Invalid command.

:(

Avatar of ozo
maybe
ftp> !pwd
but what does
ftp> help
show?
ASKER CERTIFIED SOLUTION
Avatar of alextoft
alextoft
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
From: http://www.itjungle.com/fhg/fhg111605-story03.html

LWPD: Print Working Library, Folder, or Directory. In contrast to PWD, LPWD displays the working library, directory, or folder used in the local FTP client. All the same rules that apply to the PWD command also apply to the LPWD command.

Hi,

I tried the following commands and they are working:

Linux ftp: !pwd
Solaris ftp: !pwd
Windows ftp: !cd