Horje
for each line in file bash Code Example
for each line in file bash
while read p; do
  echo "$p"
done <peptides.txt
bash for each line of file
while read p; do
  echo "$p"
done <peptides.txt
bash loop lines in file
#!/bin/bash
filename='peptides.txt'
echo Start
while read p; do 
    echo $p
done < $filename
read file line loop in bash
for word in $(cat peptides.txt); do echo $word; done




Shell

Related
install deb file Code Example install deb file Code Example
How to check git config username? Code Example How to check git config username? Code Example
check selinux status Code Example check selinux status Code Example
Ports are not available: listen tcp 0.0.0.0/50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions Code Example Ports are not available: listen tcp 0.0.0.0/50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions Code Example
kill all process that match in grep Code Example kill all process that match in grep Code Example

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