The Computer Oracle

Tell GNU screen where to save the sessions?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: The World Wide Mind

--

Chapters
00:00 Tell Gnu Screen Where To Save The Sessions?
00:20 Accepted Answer Score 11
00:34 Thank you

--

Full question
https://superuser.com/questions/117000/t...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#gnuscreen #sockets #session

#avk47



ACCEPTED ANSWER

Score 11


From the manual:

The "socket directory" defaults either to $HOME/.screen or simply to
/tmp/screens or preferably to /var/run/screen chosen at  compile-time...

By setting the environment variable SCREENDIR you can change the default behavior.