For system, network and cloud administrators

How to install and use tmux

How to install and use tmux

tmux is a very useful tool when working with the terminal. It basically allows you to start multiple sessions and each one of these sessions can have multiple panes inside it. tmux is a terminal tool focused on window and session management. tmux is available for: Debian/Ubuntu, Fedora, RHEL/CentOS, Arch Linux, OpenSUSE, macOS.


How to install offline a software/package in Linux?

On: Ubuntu 20.04 LTS

Since Canonical uses dpkg as their package manager, their software often ends with the .deb extension.

  1. Go to the official Ubuntu packages.
  2. Find your desired Ubuntu .deb package by browsing the appropiate Ubuntu version that fits your need or by searching the name of the package.
  3. Once you found the Ubuntu package, choose the nearest mirror to your location in order to download the package (North America, Europe, Asia, etc.).
  4. Install your .deb package using:
sudo dpkg -i the-name-of-your-deb-package.deb


Useful macOS keyboard shortcuts

ActionKeyboard keys
CopyCommand + C
PasteCommand + V
UndoCommand + Z
Open new browser tabCommand + T
Reload/refresh browser tabCommand + R
Close browser tabCommand + W
General macOS keyboard shorcuts

Inside a macOS terminal, apart from the general keyboard shortcuts (like closing or opening a new tab), I sometimes find myself in need to do things differently.


How to change the MTU of a network interface with ifconfig in Linux

Your network interface might not act properly by not having an speed unknown value for example and this is sometimes caused by an abnormal MTU value for your network interface. You can change that using the ifconfig command.


How to bring a network interface up or down with ifconfig in Linux

On some machines running Ubuntu frequently, you can easily restart (down/up state) a network interface by ultimately using the ifconfig command.