DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash read file line by line
#!/bin/bash while read line do echo $line done < /path/to/file
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#bash
#read
#file
#line
#line
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit