Build a List of Items to Loop Over
Build a list with comments:
1list=""
2list+=" git" # version control
3list+=" vim" # text editor
4list+=" hdparm" # hard drive tools
5list+=" nmap" # network debugging
6list+=" fail2ban" # brute-force protection
7
8for F in ${list}
9do
10 echo ${F}
11 done
Or if you want to keep it simple:
1list="
2 git
3 vim
4 hdparm
5 nmap
6 youtube-dl
7 fail2ban
8"
9
10for F in ${list}
11do
12 echo ${F}
13done