scp 命令随记

 

scp file username@remoteIp:directory

 

 

 

创建tar包

 

tar zcvf file.tar.gz directory

 

tar zcvf hadoop.tar.gz /hadoop