Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

zsh get first line

line=$(head -n 1 filename)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #zsh #line
ADD COMMENT
Topic
Name
4+9 =