Display the output of a command from the first line until the first instance of a regular expression. 2010-01-04 0 min read bash Linux