Horje
for loop in bash for files Code Example
bash loop over files in directory
#!/bin/bash
for filename in /Data/*.txt; do
    ...
done
loop file bash
while read p; do
  echo "$p"
done <peptides.txt
for loop in bash for files
#!/bin/bash
FILES=/path/to/*
for f in $FILES
do
  echo "Processing $f file..."
  # take action on each file. $f store current file name
  cat $f
done




Shell

Related
ldap query powershell Code Example ldap query powershell Code Example
check if command exists bash Code Example check if command exists bash Code Example
curl put file Code Example curl put file Code Example
batch delete all folders and files Code Example batch delete all folders and files Code Example
git branch change remote Code Example git branch change remote Code Example

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