find instruction structure
find_path_parameter_fileOrDirectory
- find . name allocation.cpp -> finding the file in current position
- find . -iname allocation.cpp -> the same as above but the word no matter uppercase or lowercase
- find /home -name allocation.cpp -> finding the file in /home directory
- find . -type d Example3/ ->finding the Example directory in local and its d parameter means directory which can used type extra argument to define it.
Reference:
發表留言