From the course: Learning SFTP

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Using SFTP at the command line

Using SFTP at the command line - FTP Tutorial

From the course: Learning SFTP

Using SFTP at the command line

- [Instructor] Now that we've connected to our server and reviewed the commands available in the SFTP command-line interface, let's use this interface to work with some files. First, let's get an idea of where we're working both locally and remotely. To do that, I'll write lpwd to find my current local working directory, and it's my users home directory. I want to be working inside my exercisefiles directory and I put those files on my desktop. So I'll change over there by typing lcd space Desktop, and then I'll write lcd space ExerciseFiles to move into the exercisefiles directory. Now, when I type lpwd, I can see that my current working directory is what I want it to be. Now, let's check where we're working on the server side. I'll type pwd and I can see that I'm working in my users home directory there as well. That's fine for now but if we needed to change that, we'd use the cd command followed by a path. Now let's…

Contents