Most people use the terms \"folder\" and \"directory\" interchangeably. From a programmer point of view, is there a difference, and if so, what is it? Does it depend on the OS,
/usr/bin/
is usually referred to as a directory when viewed in a command line console, but if accessed through a graphical file manager, users may sometimes call it a folder.mkdir
, cd
) and Folder (in the GUI).Directory: The name directory represents an analogy to the telephone directory:
Folder: The name folder represents an analogy to the file folder used in offices:
Analogy:
If you want a specific folder, you use the directory. If you want a specific room you ask the hotel keeper. Source