you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 4 months ago (3 children)

Yeah directory would make more sense if we're talking about something that contains phone numbers.

I guess it makes sense to call /proc a directory, but the things under /home? I interact with a lot of that stuff with a file manager and there's folder icons on them, so...

  • source
  • parent
  • hideshow 3 child 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