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

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -