课程: Learning SFTP

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Using SFTP at the command line

Using SFTP at the command line - FTP教程

课程: 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…

内容