linux find all files code example
Example 1: linux search all directories for file
find / -iname 'book1*'
Example 2: display all files in a directory linux
ls command list computer files in a directory in Unix OS with next structure:
ls [OPTION]... [FILE]...
Examples:
ls -l #display all files in current directory with (-l) long format.
ls -a /directory #display all hidden files in given directory that start with .
Example 3: search all folders for file match linux
find . -name "foo*"