• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

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.
0
idOle
Asked:
idOle
1 Solution
 
dhoffman_98Commented:
For a whopping 20 points...

LPWD

0
 
idOleAuthor Commented:
ftp> lpwd
Invalid command.

:(

0
 
ozoCommented:
maybe
ftp> !pwd
but what does
ftp> help
show?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
alextoftCommented:
LCD .

change to your current directory (ie. don't change at all), but it will print the current dir.
0
 
dhoffman_98Commented:
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.

0
 
omarfaridCommented:
Hi,

I tried the following commands and they are working:

Linux ftp: !pwd
Solaris ftp: !pwd
Windows ftp: !cd
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now