Here is the video version, if you prefer it:
In Linux, you will find both directories and files. Think of directories like folders in Windows or like drawers or folders in everyday life – they are used to store files within them and give structure to your files. (“Directory (computing),” n.d.) Files are resources for storing information. (“Computer file,” n.d.)
Directories also have a hierarchy. So we can have directory1/directory2. That means that directory2 is a child directory of directory1. Imagine this as a folder within a folder. When we list the “hierarchical trajectory” from some directory to some other directory, we are talking about a path. (“Path (computing),” n.d.)
Hope you learned something useful!
References
Computer file. (n.d.). Retrieved February 23, 2020, from https://en.wikipedia.org/wiki/Computer_file
Directory (computing). (n.d.). Retrieved February 23, 2020, from https://en.wikipedia.org/wiki/Directory_(computing)
Path (computing). (n.d.). Retrieved December 29, 2019, from https://en.wikipedia.org/wiki/Path_(computing)
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.