Absolute path, starting from the root (path must be written by the root directory)
[root@yang-1 ~]# /etc/sysconfig/network-scripts/ifcfg-ens33 / /etc/sysconfig/network-scripts/ifcfg-ens33 [root@yang-1 ~]# ls /home/anaconda -ks. CFG // /home/anaconda -ks. CFG [root@yang-1 ~]# cat /etc/hostname // /home/anaconda -ks. CFG // /home/anaconda -ks. CFG [root@yang-1 ~]# cat /etc/hostname // /home/anaconda -ks. CFG Yang-1 [root@yang-1 ~]# ls /root/.ssh/authorized_keys // authorized_keys [root@yang-1 ~]#Copy the code
Relative path, the path to where your current directory is located (paths are not written starting with root)
SSH /authorized_keys [root@yang-1 ~]# CD /etc/sysconfig/authorized_keys [root@yang-1 sysconfig]# ls network-scripts/ifcfg-ens33 // Network-scripts /ifcfg-ens33 [root@yang-1 /etc/sysconfig [root@yang-1 sysconfig]#Copy the code