Find
Find
Options:
-exec CMD: The file being searched which meets the above criteria and returns 0
for as its exit status for successful command execution.
-ok CMD : It works same as -exec except the user is prompted first.
-inum N : Search for files with inode number ‘N’.
-links N : Search for files with ‘N’ links.
-name demo : Search for files that are specified by ‘demo’.
-newer file : Search for files that were modified/created after ‘file’.
-perm octal : Search for the file if permission is ‘octal’.
-print : Display the path name of the files found by using the rest of the criteria.
-empty : Search for empty files and directories.
-size +N/-N : Search for files of ‘N’ blocks; ‘N’ followed by ‘c’can be used to
measure the size in characters; ‘+N’ means size > ‘N’ blocks and ‘-N’ means size <
‘N’ blocks.
-user name : Search for files owned by username or ID ‘name’.
\(expr \) : True if ‘expr’ is true; used for grouping criteria combined with OR or
AND.
! expr : True if ‘expr’ is false.
https://www.tecmint.com/35-practical-examples-of-linux-find-command/
https://www.javatpoint.com/linux-find
https://geekflare.com/linux-find-commands/
https://www.digitalocean.com/community/tutorials/how-to-use-find-and-locate-to-search-for-files-on-
linux
GREP
https://www.geeksforgeeks.org/grep-command-in-unixlinux/
https://www.digitalocean.com/community/tutorials/grep-command-in-linux-unix
https://www.freecodecamp.org/news/grep-command-in-linux-usage-options-and-syntax-examples/
https://www.javatpoint.com/linux-grep
https://www.cyberciti.biz/faq/howto-use-grep-command-in-linux-unix/
https://www.hostinger.in/tutorials/grep-command-in-linux-useful-examples/
https://www.guru99.com/linux-pipe-grep.html
I/O
https://www.tutorialspoint.com/unix/unix-io-redirections.htm
https://www.javatpoint.com/linux-input-output-redirection
https://www.geeksforgeeks.org/input-output-redirection-in-linux/
https://www.guru99.com/linux-redirection.html
https://www.guru99.com/linux-regular-expressions.html
https://www.guru99.com/linux-environment-variables.html