Posts

Showing posts from 2013

Redirect windows grep output

Problem Redirect "grep pattern file > output.txt" after grep command is not working as grep considers all text after pattern as input file names Solution Put redirection before grep command and separate with ";" Example: 1>output.txt;grep pattern file