I accidentally ran the following command in my console.It was a copy paste error.
vim -> /etc/apache2/sites-available/25-xyz-https.conf.
means open stdin in
is an output redirection by the shell. Stdout of the (vim) process will get stored in
file will get truncated by the shell before the (vim) process get's started.
I recommend to always put a
# into the shell before pasting things into the shell. That gives you a chance to review the line before executing it, especially if you paste the line together with the line break at the end. (which would execute it right away)