You are defining a function and then you use it interactively. That does not demonstrate that bash scripting is dangerous. Can you demonstrate the problem in a script?
Yes, you can do dangerous things in bash scripts. This might be one of them. Not at my computer now and no time to experiment.
Yes, you can do dangerous things in bash scripts. This might be one of them. Not at my computer now and no time to experiment.