Execute the following command
find . -name *.sh
Error finding: paths must precede expression
Solution: when searching multiple files, you need to add single quotation marks
to
find . -name '*.sh'
or
find . -name \*.sh
Read More:
- Solve the error report of the find command: paths must precede expression
- [Solved] Find command error: find: missing “- exec” parameter solution
- [Solved] sed -i error: sed: -e expression #1, char 44: invalid reference \1 on `s’ command’s RHS
- [Solved] Cannot find command ‘git‘ – do you have ‘git‘ installed and in your PATH?
- [Solved] Sed Failed to Reference Variable error: extra characters after command
- [Solved] Ubuntu tab Error: _complete:96: bad math expression: operand expected at end of string
- Windows command execution bypass
- [Solved] /usr/bin/ld: cannot find crti.o: No such file or directory & /usr/bin/ld: cannot find -lc
- Grep: How to Find All the Files Containing a String in Linux
- Mac opens Terminal and reports an error -bash:: command not found
- [Solved] Fluent error: invalid command [initialize-flow
- Linux system service command error: Failed to allocate directory watch: Too many open files
- [Solved] error adding symbols: DSO missing from command line
- ./configure Command Execute error (Centos7 Install erlang)
- [Solved] Cannot run program “svn” (in directory “D: xxxx”): CreateProcess error=2, the system cannot find the specified file.
- After Centos installation is complete, ifconfig: command not found
- -bash: sqlplus: command not found [How to Solve]
- How to Use Apt get Command Under Mac OSX
- Failed to find Qt component “Widgets“ [How to Solve]
- linux Ubuntu Error: No command ‘setenv‘ found