copy a directory
[root@localhost ~]# cp -r c1 Desktop
[root@localhost ~]# ls
anaconda-ks.cfg d5 Downloads linux Pictures s3 Templates
c1 Desktop install.log linux1 Public s4 Videos
d4 Documents install.log.syslog Music s2 s5
to enter the directory
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# ls
c1
[root@localhost ~]# cp -r c1 Desktop
[root@localhost ~]# ls
anaconda-ks.cfg d5 Downloads linux Pictures s3 Templates
c1 Desktop install.log linux1 Public s4 Videos
d4 Documents install.log.syslog Music s2 s5
to enter the directory
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# ls
c1
No comments:
Post a Comment