Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash for loop

for VARIABLE in file1 file2 file3
do
	command1 on $VARIABLE
	command2
	commandN
done
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #bash #loop
ADD COMMENT
Topic
Name
9+8 =