Author Topic: If you do a lot of SSH/terminal work...  (Read 3769 times)

littleman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5778
    • View Profile
If you do a lot of SSH/terminal work...
« on: February 15, 2021, 06:26:03 AM »
and you don't use tmux already you really should learn how to use it.


Tmux has two really good features that make life in a term window much easier:

1 It allows you to split up a screen into as many physical spaces as you want.  See picture.

2 It allows you to close off and relaunch a session without losing your workflow or to lose your place in the process.  Any application/tasks launched will continue run in the background and you could check in on them from anyplace you like.  That means you could start a task at the office, close down the term, go home and ssh and relaunch tmux to pick up the processes like you never logged out.


https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/

ergophobe

  • Inner Core
  • Hero Member
  • *
  • Posts: 7338
    • View Profile
Re: If you do a lot of SSH/terminal work...
« Reply #1 on: February 15, 2021, 05:33:33 PM »
Thanks. I do spend a fair bit of time using the command line via SSH. Unfortunately, it's almost always from a Windows OS connecting via SSH to a Linux OS.

I keep thinking of ditching Windows. There are fewer and fewer programs that are Windows-only (or very expensive to get a new license) where I really don't want to switch - InDesign, PowerGREP. I still prefer Photoshop to GIMP.

Are you using WSL (main reason I would change to Windows 10) or native Linux?

littleman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5778
    • View Profile
Re: If you do a lot of SSH/terminal work...
« Reply #2 on: February 15, 2021, 08:41:20 PM »
I've never used WSL.  The only recent time I've used windows was a work situation where I was using a provided laptop, and most of the time I just spent connecting to a linux server to get most of my work done.

Sorry, I wasn't clear, tmux is a server side application and should be agnostic to which OS you are connecting from.  It should work with Putty or any other ssh client.

ergophobe

  • Inner Core
  • Hero Member
  • *
  • Posts: 7338
    • View Profile
Re: If you do a lot of SSH/terminal work...
« Reply #3 on: February 15, 2021, 09:06:06 PM »
Got it. So it doesn't replace my SSH client, it gives me a better experience regardless of how I connect.