centos 移动、修改文件以及更改文件权限命令

1、追加文件内容到另一文件的尾部:cat  file1 >> file2

2、更改文件和目录的访问权限:chmod

3、复制文件到指定目录:cp  log.log  test5

4、从本地复制文件到远程:  

scp local_file  remote_username@remote_ip:remote_folder 

猜你喜欢

转载自blog.csdn.net/u013558123/article/details/88545086