How do I perform a file search in linux without descending into directories?
hawksbill last edited by
Also see: Man page for find.
This could be a long list, terminate the output using
-pruneoption, find descends directories.
$ find *st test test/perf
-pruneoption and only the top-level directory is listed.
$ find *st -prune test
© Lightnetics 2022