Horje
shell command read first lines Code Example
shell command read first lines
# credit to the Stack Overflow user in the source link
# the line is stored in a variable, remove 'line=' to print on display

line=$(head -n 1 filename)




Shell

Related
bash curl weather report Code Example bash curl weather report Code Example
bash curl forecast Code Example bash curl forecast Code Example
npm install composition apiu Code Example npm install composition apiu Code Example
new git Code Example new git Code Example
How to change DNS on Kali Code Example How to change DNS on Kali Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8