c - unix gcc file overwrite -
i did stupid during development.
i wrote on terminal
gcc source.c -o source.c
instead of
gcc source.c -o source.bin
or that
i editing file using nano.is there way restore ? either using possible autosaves or decompile .?
i did myself not long ago. luckily still had emacs editor opened re-save file. can't recover source object file unfortunately. check around in source file's directory files named special characters, perhaps beginning "."
Comments
Post a Comment