move directories and files
[root@localhost ~]# mv d1 /opt
[root@localhost ~]# ls
anaconda-ks.cfg Documents linux Pictures s4
d4 Downloads linux1 Public s5
d5 install.log mozilla.pdf s2 Templates
Desktop install.log.syslog Music s3 Videos
to enter the /opt directories
[root@localhost ~]# cd /opt
[root@localhost opt]# ls
d1
[root@localhost ~]# mv d1 /opt
[root@localhost ~]# ls
anaconda-ks.cfg Documents linux Pictures s4
d4 Downloads linux1 Public s5
d5 install.log mozilla.pdf s2 Templates
Desktop install.log.syslog Music s3 Videos
to enter the /opt directories
[root@localhost ~]# cd /opt
[root@localhost opt]# ls
d1
No comments:
Post a Comment