Home >Topic List >Linux find command usage

Linux find command usage

The usage of Linux's find command is: 1. To find the file named "hello.txt" in the current path, the usage is "find ./ -name the entire file name"; 2. To find the file named "hello.txt" in the root directory, The usage is "find ./ -name file name | xargs rm"; 3. To find and delete the file named "hello.txt", the usage is "find ./ -name file name | xargs rm".