ubuntu常用命令
一、传送文件
scp A B:A是文件名,B是目录,表示把A文件发送至B目录下。常用来进行本地主机和服务器之间的文件传送。
scp asynch_mode_nginx-master.zip root@192.168.1.126:/root/。服务器为root@192.168.1.126,后面:,然后是目录结构
二、解压文件
unzip asynch_mode_nginx-master.zip
tar xzf asynch_mode_nginx-master.tar.gz
一、传送文件
scp A B:A是文件名,B是目录,表示把A文件发送至B目录下。常用来进行本地主机和服务器之间的文件传送。
scp asynch_mode_nginx-master.zip root@192.168.1.126:/root/。服务器为root@192.168.1.126,后面:,然后是目录结构
二、解压文件
unzip asynch_mode_nginx-master.zip
tar xzf asynch_mode_nginx-master.tar.gz