Baca file menggunakan skrip shell
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
echo "$line"
done < "$input"
Thankful Tapir
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
echo "$line"
done < "$input"
while read p; do
echo "$p"
done <peptides.txt
#if you want to display the contents of a file on the terminal, do:
$ cat filename.file