Jump to content

Come Here


Chitralekha

Recommended Posts

#!/bin/bash

read -p "Enter a filename: " filename

if [[ -f $filename ]] ; then
echo "The file $filename exists."
read -p "Enter the word you want to find: " word
grep
"$word" "$filename"
else
echo "The file $filename does not exist."
fi

 

 

that is find command oka file lo India ane work search chestunav

yeah Now i got it.. nenu File lo Contects checking...heheh.. actaul ga Final name check cheyyalo directory lo...;)

Link to comment
Share on other sites

×
×
  • Create New...