Skip to main content

Linux Path Basics

Paths are one of the most fundamental concepts in Linux -- and one of the easiest to get stuck on at the beginning. Relative paths, absolute paths, current directory, home directory, system directory: if you don't sort these out first, you'll quickly run into "I typed it correctly, why can't the file be found?" situations when writing commands later.

This material works best when paired with an actual terminal: every time you see a path concept, run pwd, ls, and cd on your own machine -- much more effective than just flipping through slides.

Online Preview

linux-basics-paths.pdf

如果手机上内嵌预览仍无法正常纵向滚动,请使用“新窗口打开”或“下载 PDF”。