Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
When we are connected to an FTP server (from command line), How can we change the local directory?
You'll find that with most of the commands, prefixing an l will apply it to the local, and a non-l applies to remote. For example:
pwd on remote and lpwd on local.
cd on remote and lcd on local.
Required, but never shown