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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -