this post was submitted on 06 Jul 2023
15 points (100.0% liked)

Linux

48697 readers
1431 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] med 3 points 1 year ago* (last edited 1 year ago)

This is my new build go to package. Right behind vim and netstat.

Before running updates or big installs, get in to a tmux session. If your ssh session drops, it won’t interrupt the process.

If you want to see multiple servers/network devices, run the same commands, see the same output, switch on pane synchronization and run identical commands in all of them. Even password inputs when you run in to a sudo.

You can design layouts by percentage of the screen - 30%, 60% I’ve got three sites with redundant ISPs, 6 panes showing mtr sessions for each link, which work on any terminal size.

You can have someone else log in to the server and connect to the same tmux session as you, and show them what you’re doing and typing real time. Then collect the log afterwards.

I found a tmux session on a CentOS box that had been running for 5 years in the lab environment when I joined my current company - the guy who spawned it left 4 years ago.

It’s incredibly powerful.

Also, mtr-tiny is great for diagnosing latency issues