Grep Head Pipe Python Subprocess Using Subprocess To Get Output Of Grep Piped Through Head -1 January 03, 2024 Post a Comment The gist of what I'm trying to do is this: grep -n 'some phrase' {some file path} | hea… Read more Using Subprocess To Get Output Of Grep Piped Through Head -1