"Absolute path vs. relative path"
Absolute path: When we get a file, we write everything from the root directory to level two to more.
Finally found this file, this is the "absolute path"
Relative path: The relative position of the target file and my own file
Current directory:./.
Parent directory:. / ..
On level two directory:. /.. /
/home/shuhua/beijing/haidian/shangdi
I want to go to the "Haidian" directory.
CD Haidian
Cd.. /reached Haidian with "relative path"
Cd/home/shuhua/beijing/haidian to Haidian via "absolute path" mode
We arrived at a directory there are two ways to choose "relative to the road" and "absolute path"
How to choose two ways, the less input information, choose which kind.
/home/shuhua/liaoning/shenyang/haidian/tiexi
/etc/sysconfig/network-script/
"Basic Text Operation"
linux-"absolute path vs. relative path" and "File Basic Operation" (4)