bash:commands:search_commands
BASH - Commands - Search Commands
Description | Command |
---|---|
Find all instances of file | locate filename |
Find filenames larger than 10000k | find /home/peter -size +10000k |
Find filenames that start with xxx | find /home/peter -name 'xxx*' |
Search for a pattern in files | grep pattern files |
Search recursively for pattern in directory | grep -r pattern directory |
bash/commands/search_commands.txt · Last modified: 2021/01/26 15:48 by peter