Note 2.3.2.1. Folders Are Not Directories.
Until now, I have been using “folder” when I probably should be using “directory”. From Wikipedia 27 we can read that
If one is referring to a container of documents, the term folder is more appropriate. The term directory refers to the way a structured list of document files and folders are stored on the computer.
That’s a little confusing! The difference here is mostly technical. Essentially, a directory is a “file system object” whereas a folder is just a user-friendly way to represent directories. For our purposes (and for most purposes), the two terms can be used interchangeably. I use “directory” when speaking about functions on the command line and “folder” when speaking in informal settings. If you are interested, you can read more about the history of the terms at this Quora question 28 .