shell loop terminating after command
The problem is that do_work.sh runs ssh commands and by default ssh reads from stdin which is your input file. As a result, you only see the first line processed, because ssh consumes the rest of the file and your while loop terminates.
To prevent this, pass the -n option to your ssh command to make it read from /dev/null instead of stdin.
Also in Shell:
- How to upload a files to a repository on github using gitbash
- how to add application to unity launcher
- get folder size powershell
- check apache version ubuntu
- linux delete appledouble files
- function bash
- conda install mmcv
- undo git
- wheres i3 config file
- long term projects for java learners
- matrix synapse install
- raspberry wifi scan
- python install mysql connector
- Verificação de acesso de escrita [/srv/moodle/lib/editor/atto/plugins] Instalação abortada devido a falha de validação
- how to check if node js is installed on ubuntu
- particular screenshot in ubuntu
- cmd create rar file
- git ignore node_modules
- webpack uninstall npm
- git diff two commits
- bash get first argument
- docker post installation steps linux
- bash remove directory
- How to find your ip on debian linux wsl