Help for this page

Select Code to Download


  1. or download this
        find path -type f -print0 | xargs -0 grep -i -n pattern
    
  2. or download this
        path/filename:line#:content of line containing pattern
        path/subdir/filename:line#:another line with pattern in it
    
  3. or download this
    #!/usr/bin/perl
    
    ...
                    $file, $line, $found{$file}{$line} );
        }
    }