Thiên Nhạc Tâm
New member
Can you edit a bash script while it is running?
Answer
with the current version of bash, modifying a script on-disk while it is running will cause
bash to “try” to load the changes into memory and take these on in the running script. if your changes come after the currently executing line, the new lines will be loaded and executed.
Answer
with the current version of bash, modifying a script on-disk while it is running will cause
bash to “try” to load the changes into memory and take these on in the running script. if your changes come after the currently executing line, the new lines will be loaded and executed.