Horje
Shell read file line by line Code Example
read file using shell script
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
  echo "$line"
done < "$input"
bash for each line of file
while read p; do
  echo "$p"
done <peptides.txt
Shell read file line by line
while read line; do    
    echo $line    
done < file.txt




Shell

Related
install node red in widnows Code Example install node red in widnows Code Example
vim comment out mutiple lines Code Example vim comment out mutiple lines Code Example
bash create empty array Code Example bash create empty array Code Example
du -sh sort size Code Example du -sh sort size Code Example
check number of threads in a process linux Code Example check number of threads in a process linux Code Example

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