Skip to main content
4 events
when toggle format what by license comment
Jun 7, 2024 at 18:53 comment added ilkkachu A final exit can be used to ensure anything after that is not executed even if someone appends to the script file. Other structures can be used to make sure the shell reads the whole script file before doing anything, preventing modifications during the script execution from changing what the script does. But that's not worth too much security-wise, since of course any changes to the script file would take effect the next time its run.
Jun 7, 2024 at 18:00 answer added Stéphane Chazelas timeline score: 2
Jun 7, 2024 at 17:52 answer added Kusalananda timeline score: 4
Jun 7, 2024 at 17:37 history asked futurewave CC BY-SA 4.0