Timeline for Unable to delete a file using bash script
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 14, 2014 at 14:03 | comment | added | Olivier Dulac | Ok, cool. But you should realty only delete it in execution paths where it is created. And the advantage of using a trap is that it will also work in case of an external exit (ctrl+c, or if your termibal disconnects) | |
Jun 13, 2014 at 20:16 | vote | accept | Philip.J | ||
Jun 13, 2014 at 20:14 | comment | added | Philip.J | Thank you so much! I added the rm before every exit code and this solved the problem. | |
Jun 8, 2014 at 8:15 | history | edited | Olivier Dulac | CC BY-SA 3.0 |
added 231 characters in body
|
Jun 8, 2014 at 8:03 | history | edited | Olivier Dulac | CC BY-SA 3.0 |
added info on kill -0
|
Jun 8, 2014 at 7:54 | history | answered | Olivier Dulac | CC BY-SA 3.0 |