Delete found files:
$ find ./ -maxdepth 1 -name "8*" -delete
$ find ./ -maxdepth 1 -name "8*" -exec rm {} \;
Move found files:
$ find ./ -maxdepth 1 -name "8*" -exec mv {} tmp/ \;
-P, --perl-regexp PATTERN is a Perl regular expression
-H, --with-filename print the filename for each match
-R, -r, --recursive equivalent to --directories=recurse
-B, --before-context=NUM print NUM lines of leading context
-A, --after-context=NUM print NUM lines of trailing context
-C, --context=NUM print NUM lines of output context
-i, --ignore-case ignore case distinctions
$ grep -r -i -P -B 3 -A 3 "orbitz" *
The following will print out duplicate words cases such as the the:
$ grep -E "\b(\w+)\b \b\1\b" *.lyx
$ grep -r "ramesh" *
$ history | grep 'rename'