Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep search in file bash

#!/bin/bash
grep "$1" $2 # Search the string $1 in the file $2
 
PREVIOUS NEXT
Tagged: #grep #search #file #bash
ADD COMMENT
Topic
Name
8+1 =