the way to check file as all know is like this
[[ -f /var/scripts_home/orig_create_DB_files_1.46.38 ]] && echo file exist
but how to check if file exist in case file contain name as - "create_DB_files"
I try this ( but not works )
[[ -f /var/scripts_home/*create_DB_files* ]] && echo file exist
partial_file_name=create_DB_files [[ -f /var/scripts_home/*$partial_file_name* ]] && echo file exist