I ran a command using Alt+F2 .
I then realised that the command would have output something important to standard output and/or standard error.
Is there a way to display the output of that command? (Is it logged somewhere? Is there a way to get a hidden window that contains the output of all commands launched via Alt+F2? Or is it too late?)
If the command already finished, it's output is lost.
In older GNOME versions, there was a checkbox "Run in terminal" in the Alt+F2 dialog. Ticking this checkbox causes a terminal window to open while the command is running, that will display the command output.
This is still available in GNOME Flashback desktop (which I use), but no more in GNOME Shell. But even in GNOME Flashback, the terminal window closes right after the command finishes, so it's of little use.
It seems that you have to use Ctrl+Alt+T instead of Alt+F2, to open the terminal window first and then run the command from the terminal.