Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get first line of output bash

multiline-command | head -n 1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #line #output #bash
ADD COMMENT
Topic
Name
8+2 =