Info on 1 subdirectory

Trying to figure out how to get information for one subdirectory, when in a directory with hundreds of subdirectories?
eg if I use ls, this will actually give me the ‘contents’ of the directory, not info ABOUT the directory…

drwxrwxrwx 1 root root 4096 Jan  5  2020 BackupDebData2Media
drwxrwxrwx 1 root root    0 Jan 23  2023 BashInfo
-rwxrwxrwx 1 root root  720 Jun 29  2023

eg in the above excerpt, i want to do a query that would just show me the info about the Bashinfo directory, but if I do an

ls -l Bash*

I get the contents of that directory…

I’m not sure what you are looking for.

Perhaps you should try:

ls -ld Bash*

No, I DID look for that option, but have never found it… :smile:
Ah, well

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.