Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep output to file

# > overwrite file | >> append to new file
grep "search_string" .current_file_name.txt >> new_file_name.txt
Source by fedingo.com #
 
PREVIOUS NEXT
Tagged: #grep #output #file
ADD COMMENT
Topic
Name
7+2 =