search a string from a file in shell script program and paste the string to another file -
search string file in shell script program , paste string file.
this used in command prompt : ps -ef | grep stringname inputfilename > outputfilename
try this:
cat filename | grep stringname > other file
Comments
Post a Comment