In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what are the commonly used commands in sftp". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn what are the commands commonly used in sftp.
List of available commands:
Common commands:
1. Sftp user@ip
If you want to use sftp, of course you have to log in to the sftp server. After executing the above command in the shell of linux, linux shell will prompt the user for a password. Let's enter password. This successfully established the sftp connection.
2. Help
After the connection is established, the $in linux shell programs sftp >, which is also true. Now execute the following help to see which commands sftp supports.
3. Pwd and lpwd
Pwd is the directory that looks at the remote server, which is the default current directory of the sftp server. Lpwd is to look at the linux local directory.
4. Ls and lls
Ls is to look at the things in the current directory under the sftp server, and lls is to look at the things under the current directory in linux.
5. Put a.txt
This is to upload the a.txt file from the current directory of linux to the current directory of the sftp server.
6. Get b.txt
This is to download the b.txt file from the current directory of the sftp server to the current directory of linux.
7.! command
This means to execute the command command on linux, for example! ls is to list things in the current directory of linux, and! rm a.txt is to delete the a.txt file in the current directory of linux.
This command is very useful because you enter the command after sftp >, and the default value is for the sftp server, so rm a.txt deletes the a.txt file on the sftp server, not the a.txt file on the local linux.
8. Exit and quit
Quit.
At this point, I believe you have a deeper understanding of "what are the commands commonly used in sftp?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.