[kwlug-disc] Screen vs Tmux
Erik Schnetter
schnetter at gmail.com
Fri Jun 21 10:00:57 EDT 2019
On Fri, Jun 21, 2019 at 9:37 AM David Critch <dcritch at gmail.com> wrote:
>
>
>
> On Fri, Jun 21, 2019 at 9:30 AM Erik Schnetter <schnetter at gmail.com> wrote:
>>
>> For me, the main point of tmux or screen is that they keep the remote
>> session active when the ssh connection drops. The advantage of tmux
>> here is that I can give names to sessions and reattach by name,
>> whereas screen numbers them according to their process id.
>>
> You can do that with screen:
> screen -S foobar
> <detach>
> screen -r foobar
Thanks! Apparently my RTFM skills need improving.
The killer app, of course, is combining autossh with tmux. This means
I never have to re-login if I lose connection or move between wireless
networks.
-erik
>> On Fri, Jun 21, 2019 at 6:00 AM Raymond Chen <raymondchen625 at gmail.com> wrote:
>> >
>> > I started with Tmux. Guess Screen might be similar. I usually use Tmux to split screens and type the same command at the same time. We have an installation script which needs to run on all machines. And sometimes I tail -f access logs on all split screens and see where the request lands.
>> > I saw people use tabs as workspaces and it was fantastic. But it's not what I usually do so I only memorize the split screen commands so far.
>> >
>> > On Thu, Jun 20, 2019 at 11:26 PM William Park via kwlug-disc <kwlug-disc at kwlug.org> wrote:
>> >>
>> >> Hi all, (cross-posting from GTALUG)
>> >>
>> >> I try to use WSL (Windows Subsystem for Linux) whenever possible, even
>> >> though I have VMware and VirtualBox available. One thing that WSL
>> >> terminal lacks is "tab" that all other terminals have. So, that calls
>> >> for Screen and Tmux. But, which one? And, why?
>> >> --
>> >> William Park <opengeometry at yahoo.ca>
>> >>
>> >> _______________________________________________
>> >> kwlug-disc mailing list
>> >> kwlug-disc at kwlug.org
>> >> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>> >
>> > _______________________________________________
>> > kwlug-disc mailing list
>> > kwlug-disc at kwlug.org
>> > http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>>
>>
>>
>> --
>> Erik Schnetter <schnetter at gmail.com>
>> http://www.perimeterinstitute.ca/personal/eschnetter/
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
--
Erik Schnetter <schnetter at gmail.com>
http://www.perimeterinstitute.ca/personal/eschnetter/
More information about the kwlug-disc
mailing list