2 fixed SE markdown mangling. Mention `-iname` is not universal.
source | link
ls abc*.zip

This however will fail if there are too many files (there is a limit to shell expansion in term of how many arguments it can expand to).

find . -name "abc*.zip"

This is probably the most universal. The quotes must be there. YouWith some find implementations, you can also use -iname-iname instead of -name-name for case insensitive search (aBc.ZIPaBc<date>.ZIP would also match).

ls | grep -x "abc.*\.zip"

Mind the ".*".* and "."\. since the filter grep uses is regex which is different from the wildcard notation the shell uses for expansion. Use grep -igrep -i for case insensitive search.

ls abc*.zip

This however will fail if there are too many files (there is a limit to shell expansion in term of how many arguments it can expand to).

find . -name "abc*.zip"

This is probably the most universal. The quotes must be there. You can also use -iname instead of -name for case insensitive search (aBc.ZIP would also match).

ls | grep "abc.*\.zip"

Mind the ".*" and "." since the filter grep uses is regex which is different from the wildcard notation the shell uses for expansion. Use grep -i for case insensitive search.

ls abc*.zip

This however will fail if there are too many files (there is a limit to shell expansion in term of how many arguments it can expand to).

find . -name "abc*.zip"

This is probably the most universal. The quotes must be there. With some find implementations, you can also use -iname instead of -name for case insensitive search (aBc<date>.ZIP would also match).

ls | grep -x "abc.*\.zip"

Mind the .* and \. since the filter grep uses is regex which is different from the wildcard notation the shell uses for expansion. Use grep -i for case insensitive search.

1
source | link

ls abc*.zip

This however will fail if there are too many files (there is a limit to shell expansion in term of how many arguments it can expand to).

find . -name "abc*.zip"

This is probably the most universal. The quotes must be there. You can also use -iname instead of -name for case insensitive search (aBc.ZIP would also match).

ls | grep "abc.*\.zip"

Mind the ".*" and "." since the filter grep uses is regex which is different from the wildcard notation the shell uses for expansion. Use grep -i for case insensitive search.