• ILikeBoobies@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    24 hours ago

    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”

    • SpaceCowboy@lemmy.ca
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 day 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.