For search string on file and return list file which content are "string"
search v1.0 by: 2014, fajarhide
::
wget -q -O install.sh https://raw.githubusercontent.com/fajarhide/search/master/install.sh
sh install.sh
::
wget -O search https://raw.github.com/fajarhide/search/master/search.pl
chmod +x search
::
$ search -h
$ search "string"
$ search -d "/dir/subdir" -r "string"
usage: search [-h] ["regex_string"] [-d "/dir/subdir"] [-r]
optional arguments:
"regex_string" string to search in the form of a regular expression
-d "/dir/subdir" search of spesification directory, if not then the directory is assumed PWD or "."
-r search file of recursive
-h show this help message and exit
CTRL + Z
If you want to uninstall tools search from your Linux
::
sh /usr/local/search/uninstall.sh