Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: