Dear Forum
I happen to have a number of directories, labelled with specific prefixes like "opt_", "ana_", "test_" and so on. The name root of the directory could then be "single", "double", "triple", and so on (referring to some background calculation method). What I would then like to to is to list all, say, "opt_" directories. Thus I was expecting
Code:
bash $ ls -l opt_*
opt_single
opt_double
opt_triple
allowing me to see which calculation has an "opt_"directory, and which one still requires it.
However, using the above command, what happens is that not the directories, but the content of those directories is listed, which are hundreds of files, so I cant do the check I was trying to do.
How do I correctly do this? I cant figure it out.
Thanks for any helps.