Explore further
https://www.geeksforgeeks.org/find-command-in-linux-with-examples/
Search a file with specific name. $ find ./ GFG -name sample.txt. It will search for sample.txt … Search a file with pattern. $ find ./ GFG -name *.txt. It will give all files which have ‘.txt’ at the … How to find and delete a file with confirmation. $ find ./ GFG -name sample.txt -exec rm -i {} … Search for empty files and directories. $ find ./ GFG -empty. This command find all empty … Search for file with entered permissions. $ find ./ GFG -perm 664. This command find all the …
Search a file with specific name. $ find ./ GFG -name sample.txt. It will search for sample.txt …
Search a file with pattern. $ find ./ GFG -name *.txt. It will give all files which have ‘.txt’ at the …
How to find and delete a file with confirmation. $ find ./ GFG -name sample.txt -exec rm -i {} …
Search for empty files and directories. $ find ./ GFG -empty. This command find all empty …
Search for file with entered permissions. $ find ./ GFG -perm 664. This command find all the …
DA: 79 PA: 87 MOZ Rank: 32 Up or Down: Up