On Fri, Jul 26, 2024 at 07:59:42 +0800, cor...@free.fr wrote: > > > > > I won't go any fancier than this until I know it's actually needed. > > My actual requirement is that I want to 'ls -ltr' into a subdir in /tmp. > that subdir is apache's tmp dir. but the name of the subdir is too long > (hard to copy&paste), so I am looking for a easier way.
Then how do you KNOW which subdirectory to use? Is it the only one with "-apache" in its name? If so: ls -ltr /tmp/*-apache* Otherwise, please describe how you (as a human with a mind) know which directory it is. Then we can try to duplicate that reasoning feat with commands.