help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] The best way to get a file in a directory


From: Peng Yu
Subject: [Help-bash] The best way to get a file in a directory
Date: Thu, 22 Nov 2018 00:15:52 -0600

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.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]