Nguyễn Đôn Hào
New member
What are loops in Linux?
Answer
A ‘for loop’ is
a bash programming language statement which allows code to be repeatedly executed
. A for loop is classified as an iteration statement i.e. it is the repetition of a process within a bash script. For example, you can run UNIX command or task 5 times or read and process list of files using a for loop.
Answer
A ‘for loop’ is
a bash programming language statement which allows code to be repeatedly executed
. A for loop is classified as an iteration statement i.e. it is the repetition of a process within a bash script. For example, you can run UNIX command or task 5 times or read and process list of files using a for loop.