[root@localhost test]# cp log.log test5 [root@localhost test]# ll -rw-r–r– 1 root root 0 10-28 14:48 log.log drwxr-xr-x 6 root root 4096 10-27 01:58 scf drwxrwxrwx 2 root root 4096 10-28 14:47 test3 drwxr-xr-x 2 root root 4096 10-28 14:53 test5 [root@localhost test]# cd test5 [root@localhost test5]# ll -rw-r–r– 1 root root 0 10-28 14:46 log5-1.log -rw-r–r– 1 root root 0 10-28 14:46 log5-2.log -rw-r–r– 1 root root 0 10-28 14:46 log5-3.log -rw-r–r– 1 root root 0 10-28 14:53 log.log
[root@localhost test]# cp log.log test5 cp:是否覆盖“test5/log.log”? n [root@localhost test]# cp -a log.log test5 cp:是否覆盖“test5/log.log”? y [root@localhost test]# cd test5/ [root@localhost test5]# ll -rw-r–r– 1 root root 0 10-28 14:46 log5-1.log -rw-r–r– 1 root root 0 10-28 14:46 log5-2.log -rw-r–r– 1 root root 0 10-28 14:46 log5-3.log -rw-r–r– 1 root root 0 10-28 14:48 log.log
[root@localhost test]# cp -a test3 test5 [root@localhost test]# ll -rw-r–r– 1 root root 0 10-28 14:48 log.log drwxr-xr-x 6 root root 4096 10-27 01:58 scf drwxrwxrwx 2 root root 4096 10-28 14:47 test3 drwxr-xr-x 3 root root 4096 10-28 15:11 test5 [root@localhost test]# cd test5/ [root@localhost test5]# ll -rw-r–r– 1 root root 0 10-28 14:46 log5-1.log -rw-r–r– 1 root root 0 10-28 14:46 log5-2.log -rw-r–r– 1 root root 0 10-28 14:46 log5-3.log -rw-r–r– 1 root root 0 10-28 14:48 log.log drwxrwxrwx 2 root root 4096 10-28 14:47 test3
[root@localhost test]# cp -a test3 test4 [root@localhost test]# ll -rw-r–r– 1 root root 0 10-28 14:48 log.log drwxr-xr-x 6 root root 4096 10-27 01:58 scf drwxrwxrwx 2 root root 4096 10-28 14:47 test3 drwxrwxrwx 2 root root 4096 10-28 14:47 test4 drwxr-xr-x 3 root root 4096 10-28 15:11 test5 [root@localhost test]#
[root@localhost test]# cp -s log.log log_link.log [root@localhost test]# ll lrwxrwxrwx 1 root root 7 10-28 15:18 log_link.log -> log.log -rw-r–r– 1 root root 0 10-28 14:48 log.log drwxr-xr-x 6 root root 4096 10-27 01:58 scf drwxrwxrwx 2 root root 4096 10-28 14:47 test3 drwxrwxrwx 2 root root 4096 10-28 14:47 test4 drwxr-xr-x 3 root root 4096 10-28 15:11 test5
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有