Interview Prep/Linux/Filesystem Hierarchy, Inodes & Links

What does the `.` and `..` mean, and what is an absolute vs relative path?

BeginnerConceptFilesystem Hierarchy, Inodes & Links
Answer

. is the current directory and .. the parent; both are real hard links in every directory. An absolute path starts at / (/etc/nginx/nginx.conf); a relative path is resolved from the current working directory (../logs/app.log). In scripts and cron jobs always use absolute paths, because the working directory is not what you expect.

All Linux questions Roadmap: Linux

More on Filesystem Hierarchy, Inodes & Links