for while bash
while true;
do
#code
donewhile true;
do
#code
;doneUse for in bash for iterating words in a string or values in an array as:
for value in {1, 2, 3}; do echo $value; done
for value in $(cat arguments_files.txt); do [some_command]; done
And use while for iterating lines from a pipe output as:
cat arguments_file.txt | while read line; do [some_command]; done
Also in C++:
- how to install kivy in Ubuntu
- git remove tracked files without deleting
- open chrome without web security mac
- origin branch still showing in vscode though deleted
- git remove from staging
- dos findstr
- linux hide mounted drives from favourites
- suid privilege escalation
- apt remove
- install newman-reporter-htmlextra
- how to install git in cmd on windows with terminal
- ubuntu install vboxguest
- powershell set wsl 2
- git see all tracked files
- bash transform uppercase to lowercase
- linux curl upload file ftp
- isxdigit lib
- clean cache pyinstaller
- install babel core
- git commit with message
- how to untar tar.gz
- linux find size of directory and subdirectories
- powershell command shutdown computer
- install bootstrap vue