GREP COMMAND

SOURCE CODE:
[examuser35@localhost Jebastin]$ cat>god
god  is great
god is present everywhere
[2]+ Stopped                 cat>god
echo “displaying a string from a file”
echo “get file name”
read s
echo “get string”
read i
grep $i $s

OUTPUT:
[examuser35@localhost Jebastin]$ grep.sh
displaying a string from a file
get file name
god
get string
great
god is great
Previous
Next Post »

If you still didn't find what you're looking for, you can search this website below: