Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 3
    It's unclear what you expect to happen when you use the -d option with ls. It's also unclear what you think the use of this option is. Commented Mar 24, 2022 at 18:18
  • Perhaps you were looking for ls -d */, perhaps not. Commented Mar 25, 2022 at 1:40
  • If you're not entirely sure what's running, try which ... which ls Commented Mar 26, 2022 at 2:35
  • I expect it to list subdirectories. am I going nuts or is this not what it should do? I am not new to cli linux nor do i claim to be expert in it. Commented Mar 27, 2022 at 4:30
  • This question is similar to: What is the meaning of ls -d?. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem. Commented Aug 12, 2024 at 23:58