you are viewing a single comment's thread
view the rest of the comments
[โ€“] 2 points 4 months ago* (last edited 4 months ago) (2 children)

It's because it's a directory. It's a list of locations for files.

In Windows the command "dir" is used instead of "ls"

  • source
  • parent
  • hideshow 2 child comments
  • [โ€“] 1 point 4 months ago

    Itโ€™s a list of locations of files.

    It doesn't tell me which sector of the hard disk the file data is stored when I type "ls". it lists the files within the container in the path provided in the command line or aprovided by an environment variable or whatever. What should we call something that contains files?

    In Windows the command โ€œdirโ€ is used instead of โ€œlsโ€

    Yeah they were called directories in DOS.

    The icon is a folder in both Windows and in every Linux desktop environment I've seen. It's not that it's incorrect to call them directories. It's just that it's not wrong to call them folders.

  • source
  • parent