[root@localhost ~]# ls /etc/sysconfig/network-scripts/ifcfg-ens33
/etc/sysconfig/network-scripts/ifcfg-ens33
[root@localhost ~]# ls /root/anaconda-ks.cfg
/root/anaconda-ks.cfg
[root@localhost ~]# ls /etc/hostname
/etc/hostname
[root@localhost ~]# cat /etc/hostname
localhost.localdomain
相对路径 相对你所在的位置的一个路径 
比如  查看当前目录下的某一个文件
[root@localhost ~]# cd /etc/sysconfig/
[root@localhost sysconfig]# ls network-scripts/ifcfg-ens33
network-scripts/ifcfg-ens33
[root@localhost sysconfig]# pwd
/etc/sysconfig
不管在哪个文件下都可以通过绝对路径来找到文件或者文件夹
cd    是change directory   目录的意思
cd  到达指定的目录下 
pwd 查看当前所在的路径    所在的目录文件夹
原文:http://blog.51cto.com/13038669/2085738