There isn't a file. If you're using a window manager and have a command prompt open there which has scrollbar and history, you can grab all that the window history contains and paste that into a text document. Whichever editor you were using may have kept a backup of your last interim edits. Check for files containing # or ~ characters in them in the same starting location where you began your edits from, they may be hidden files which start with a period character at the start of the file name, but they'll have most if not all of the edit file name's name. Then copy that backup file to another file so that you retain it and see if that has most of your most recent edits. I think it all depends if it made a sync backup and when it last did that, to determine how much you can recover or how much you stand to lose.
What exact editor were you using? Those familiar can let you know what they know about that editor's backup practices, or not.
There's actually been a few recent posts about keeping record logs for command line progress: