Peng Yu
2018-11-22 06:15:52 UTC
Hi,
I'd like to get a file in a directory. It can be any file in the
directory. I don't care what it is as long as it is in the directory.
I don't want to use * to get all the files and then pick one from them
as this can be slow when there are many files in a directory. Is there
an efficient way in bash to get a file in a directory? Thanks.
I'd like to get a file in a directory. It can be any file in the
directory. I don't care what it is as long as it is in the directory.
I don't want to use * to get all the files and then pick one from them
as this can be slow when there are many files in a directory. Is there
an efficient way in bash to get a file in a directory? Thanks.
--
Regards,
Peng
Regards,
Peng