We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
偶尔需要上传本地文件至服务器,而在服务器需要解压一些压缩文件,故简单记录。
local_file_path
remote_file_path
scp local_file_path username@server_ip:remote_file_path
注意:如果使用的是 Windows ,注意是反斜杠
scp local_file_path username@server_ip:/remote_file_path
sudo apt-get install unzip unzip 文件名.zip unzip 文件名.zip -d 目标目录
sudo apt-get install unrar unrar x 文件名.rar
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. 前言
偶尔需要上传本地文件至服务器,而在服务器需要解压一些压缩文件,故简单记录。
2. SSH上传本地文件
local_file_path
替换为本地文件的路径,remote_file_path
替换为服务器上目标位置的路径)注意:如果使用的是 Windows ,注意是反斜杠
3. Ubuntu中解压相关
3.1 zip文件
3.2 rar文件
The text was updated successfully, but these errors were encountered: