fajarhide / search

Fast finding string on the file collection

Home Page:https://github.com/fajarhide/search.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search

For search string on file and return list file which content are "string"

Versions

search v1.0 by: 2014, fajarhide

Github Installation

::

wget -q -O install.sh https://raw.githubusercontent.com/fajarhide/search/master/install.sh
sh install.sh

Just download (Like the way it used to be)

::

wget -O search https://raw.github.com/fajarhide/search/master/search.pl
chmod +x search

Usage

::

$ 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

Exit

CTRL + Z

Github Uninstallation

If you want to uninstall tools search from your Linux

::

sh /usr/local/search/uninstall.sh

About

Fast finding string on the file collection

https://github.com/fajarhide/search.git

License:MIT License


Languages

Language:Perl 63.4%Language:Shell 36.6%