bash find directories
In the particular case you are looking for a 1) directory which you know the 2) name, why not trying with this:
find . -name "octave" -type d
find ./path/to/directory -iname "test" -type d
I found this very useful for finding directory names using -iname for case insensitive searching. Where "test" is the search term.
try to use
find $path -type d
?
for current directory
find . -type d
find . -mindepth 1 -maxdepth 1 -type d