Home » Linux » Tips

Linux Tip: Travel Securely with an Encrypted Linux USB Stick

Linux travel USB install

Travel is back. Do you have a plan for what happens if your laptop, with your passwords and banking details and secret projects gets stolen? Read on for a nifty way to mitigate the inconvenience of a lost laptop. Taking Your Laptop on Holiday I often take my laptop on holiday. I really shouldn’t, but sometimes you want to take a break from trekking through cobblestone streets or sitting by the pool. For me, this usually means tinkering away on some kind of code project, … Read more

Home » Linux » Tips

LinuxScrew’s Linux Shell/Bash Scripting Tips

Bash script hot tips

Here are some handy tips to keep in mind when writing your shell scripts in Linux. Shell scripts are a versatile way to automate your workflows in Linux (and MacOS, and now Windows, with the Windows Subsystem for Linux). Shell scripting syntax and behaviour does have its quirks, and there are useful shortcuts you can take as well to simplify your scripts. Bash Scripting Tips These tips are collected from around the internet, with a few of my own thrown in. Bash scripts will keep … Read more

Home » Linux » Tips

Linux Tip: Free Self Hosted Cloud Desktops Using Linux and TailScale

Free cloud desktops

This article will show you how to build your own cloud desktop environment. Virtual desktops have become a popular way to make your work space portable. You can leave all of your applications running in the cloud, and log into your desktop from anywhere and resume work. Here’s how you can build your own cloud desktops, for free. Google, Amazon, Microsoft, and other vendors all provide cloud-based virtual desktop solutions, but the costs can quickly add up. By using a VPN and some virtualisation software, … Read more

Home » Linux » Tips

Linux Tip: Using visudo to Avoid Costly Mistakes

Linux visudo

Linux Tip: Use visudo to Edit the sudoers File to Avoid Costly Mistakes This article will show you how to use visudo to edit the sudoers file to grant root access to users – and protect against making mistakes that could lock you out of your Linux system forever. What is the sudoers File? The sudoers file defines which users have access to the sudo command on Linux systems. The file is located at: /etc/sudoers …and it looks like this: # # This file MUST be edited with the ‘visudo’ command as root. # # … Read more

Home » Linux » Tips

Linux: Set Which Network Connection You Get Internet From [Default Route]

Linux set default internet route

This quick tutorial will show you how to set which network Linux uses to access internet when multiple networks are connected by setting the default route. If you have a Linux device (for example a Raspberry Pi) connected to multiple networks (like being connected to a wireless and wired network simultaneously), you might have trouble connecting to the internet. That’s because Linux will have automatically set up some default routes, and will have somewhat arbitrarily picked which interface it tries to use to access the internet … Read more

Home » Linux » Tips

How to change DNS servers on Linux (Ubuntu/RedHat/All Distros)

How to change your DNS servers on Linux

Here’s a quick tutorial for a simple but important task – manually setting the DNS server on your Linux system. The steps in this tutorial should work for all Linux distributions – both server and desktop. Manually setting your DNS server is particularly useful if you’re setting up a Pi-Hole ad blocker. Backup Existing DNS Configuration If an existing manual DNS configuration exists, back it up by copying it to a new file: sudo cp /etc/resolv.conf /etc/resolv.conf.bak Edit Linux DNS Configuration The nano text editor … Read more

Home » Linux » Tips

How to Use Microsoft Teams on Linux

Microsoft Teams on Linux

Microsoft Teams has exploded in popularity in the past year (people have been working from home a lot for some reason). Here’s how to use it on Linux. Microsoft Teams Microsoft Teams is a chat and collaboration platform from Microsoft. It covers video conferencing, voice and text chat and allows you to collaborate on documents. Like the rest of the Microsoft Office suite, it doesn’t run on Linux. OK, technically, it does run on Linux – there is a desktop client available – but it’s been a while … Read more

Home » Linux » Tips

What is Bash/The Terminal/Linux Shell? What Do They Mean?

What is Bash? Bash Meaning

New to Linux and confused about the terminology surrounding the terminal, shells, bash, and the command line? This article explains what they are. The terms terminal, shell, command line, and Bash are thrown around a lot when discussing using Linux – sometimes interchangeably. They can all refer to the same thing, but they do have slightly different meanings. GUI vs Terminal – What are They? When we’re referring to the terminal we’re referring to the text interface used to control a computer by typing in text commands. A GUI is a different paradigm – … Read more

Home » Linux » Tips

Why Use The Terminal [Linux/BSD]?

Why Use the Terminal?

Lots of people choose to use the terminal instead of a graphical interface for coding, system administration, and even day-to-day computing – but why? Here’s a bunch of reasons. If you’re confused about what the Terminal, Shell, and Command-Line all are – check out our explainer here! Most servers lack a GUI (If you ignore Windows) Most Linux servers are remotely administered via the terminal through a remote SSH connection – so being comfortable in the terminal by using it day-to-day makes things easier when it … Read more

Home » Linux » Tips

Snowflake/Muon: the Best GUI SSH Connection Manager on Linux

Muon Snowflake SSH Connection Manager

Secure, powerful remote access is one of the cornerstones of Linux’s functionality. The SSH protocol powers this, and Snowflake/Muon is an excellent tool for managing SSH connections. The flexibility and security of SSH are part of why Linux is so popular as a server OS. This article is part-introduction to SSH and part-review of the Snowflake (now known as Muon, but still referred to as Snowflake in many places). I’ve been using it for a while, and the project deserves attention! What is SSH? SSH is a secure network protocol. … Read more