The Computer Oracle

The command 'ls -d' is not displaying directories. Is there a way to get 'ls' to only display directories instead of files and directories?

-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Switch On Looping

--

Chapters
00:00 Question
00:53 Accepted answer (Score 51)
04:05 Answer 2 (Score 30)
04:20 Answer 3 (Score 13)
04:36 Answer 4 (Score 5)
04:57 Thank you

--

Full question
https://superuser.com/questions/344877/t...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #bash #ls

#avk47