Where can I find the screenlog.0 file?

16,542

You can find the screenlog.0 file in screen's current working directory (cwd). This is either the directory that was the cwd when you started screen, or it's a directory you subsequently changed to using the :chdir screen command.

The easiest way to find out what this directory is is to open a new window with a shell in it using Ctrl-a c and check the pwd of the new shell (which is usually visible straight away in the prompt).

Share:
16,542

Related videos on Youtube

Eduard Florinescu
Author by

Eduard Florinescu

Updated on September 18, 2022

Comments

  • Eduard Florinescu
    Eduard Florinescu 5 months

    I have to run some scripts in a screen and I used the C-a H command to record the output to a screenlog.0 file when I press the shortcut keys the message is Logfile "screenlog.O" closed. But if I try to find it with locate screenlog.0 it doesn't show up.

    Where can I find the screenlog.0 file?