To perform a case-insensitive find file search in Solaris, you can use the find
command with the -iname
option. The -iname
option searches for files that match the given pattern case-insensitively. Here’s the basic syntax:
find /path/to/search -iname "pattern"
Here’s an example command that searches for all files in the current directory and its subdirectories that have the word “example” in their filename, regardless of case:
find . -iname "*example*"
This will find files like example.txt
, example.jpg
, myexamplefile.TXT
, and so on.