How to Manage and Restore Tmux Sessions in Linux

Tmux is a terminal multiplexer that comes stocked with a wide range of useful features and is backed by a surprising number of community-made plugins. Terminal multiplexers like tmux and Screen give your terminal window super productivity powers, allowing you to open multiple sessions in tabs and split screens. Combined with multiple terminal tools and session saving, you can also restore Tmux sessions after a hard reboot. Related: How to Share a Terminal Session with Friends Installing tmux Getting tmux ready and running on your system is relatively simple if you are using a Linux distribution. For Ubuntu, this means summoning apt from your terminal… Read more

How to Install a Dictionary for Use in Linux Terminal

Learning new words can be a pain when you’re pressed for time and the pages of a dictionary can only be flipped so fast. Thankfully, the Internet has placed a lot of powerful tools at your fingertips to help streamline such processes. After all, Google gives you word definitions right in its search results these days. However, even Google can’t help you when you’re stuck writing offline. A locally stored dictionary utility can really come in handy when no other dictionary is available (or even when there is!), and options abound in the world of Linux software. Among these, there is one that runs quite… Read more

How to Scan Your Local Network with Terminal on macOS

The Terminal in macOS is one handy tool that few people make use of. Here we will show you how you can use the Terminal in macOS to scan your local network for troubleshooting, maintenance and general curiosity. It works a little differently from Linux’s utilities, with different flags in some cases, so don’t assume Linux skills will be accurate on macOS. Scan Your Local Network’s Open Ports with nmap nmap is the king of command-line port scanners on macOS, but you’ll need to install it first. Install nmap with Homebrew If you have Homebrew installed, run brew install nmap to download and install nmap… Read more

How to Open Any Folder in Finder from Mac Terminal

The standard way to open any directory on a Mac is by opening a Finder window and using it to navigate to a specific location on your hard drive. However, there’s also an alternate way to open folders – by using Terminal. While this isn’t something that will be used in your daily routine, if you are a developer (or someone who uses the Terminal frequently), this trick can be very useful. Related: How to Remap the Fn Keys on macOS Here we’ll show you how to use the open command to open any directory directly from Terminal, bypassing… Read more

How to Use the Linux Terminal as a Calculator

Do you prefer the simplicity of the Linux terminal over a fancy GUI? If you need to quickly do some math, you don’t have to use a calculator app. You can perform your calculations using the terminal, using tools that you’ll (probably) have installed already. Let’s run through how you can use the Linux terminal as a calculator, no matter your distro. Calculations with GNU bc The bc element of GNU bc stands for “basic calculator.” The bc program itself originated on Unix, based in the 1970s. GNU bc is a more modern, enhanced version,… Read more