-a列出包括.a开头的隐藏文件的所有文件
-A通-a,但不列出"."和".."
-l列出文件的详细信息
-c根据ctime排序显示
-t根据文件修改时间排序
re never to look at me during the day, we must always part by sunrise, and we can never say "i and when it is over i will send you a card that will simply say goodbye... those are the rules...。re never to look at me during the day, we must always part by sunrise, and we can never say “i and when it is over i will send you a card that will simply say goodbye… those are the rules…。for all those people in brazil, for all his fans all around the world, he will always be young. ayrton senna will always be fast. he will never be old. he will always be the champion of brazil and of the world. the grief, even today..., maybe the greatest statement i can make about what he did when i meet a brazilian soon after that i have t.........更多。
白色:表示普通文件
蓝色:表示目录
绿色:表示可执行文件
红色:表示压缩文件
浅蓝色:链接文件
红色闪烁:表示链接的文件有问题
黄色:表示设备文件
灰色:表示其它文件
2.mv [选项] 源文件或目录 目录或多个源文件 | 移动或重命名文件
-b覆盖前做备份
-f如存在不询问而强制覆盖
-i如存在则询问是否覆盖
-u较新才覆盖
-t将多个源文件移动到统一目录下,目录参数在前,文件参数在后
mva/tmp/将文件a移动到/tmp目录下
mvab将a命名为b
mv/home/zenghaotest1.txttest2.txttest3.txt
3.cp [选项] 源文件或目录 目录或多个源文件 | 将源文件复制至目标文件,或将多个源文件复制至目标目录。
-r-R递归复制该目录及其子目录内容
-p连同档案属性一起复制过去
-f不询问而强制复制
-s生成快捷方式
-a将档案的所有特性都一起复制
4.scp [参数] [原路径] [目标路径] | 在Linux服务器之间复制文件和目录
-v详细显示输出的具体情况
-r递归复制整个目录
(1)复制文件:
命令格式:
remote_ip= 。remote_ip 部署远程服务器ip。scp local_file remote_username@remote_ip:remote_folder11后台执行程序,并且重定向到日志文件:。
scplocal_fileremote_username@remote_ip:remote_file
scplocal_fileremote_ip:remote_folder
scplocal_fileremote_ip:remote_file