Linux Basics

Linux Basics are essential tools and tips that everyone who works with Linux should know.

featured tutorialAn Introduction to DNS Terminology, Components, and Concepts
DNS, or the Domain Name System, is an integral part of how the internet functions today. However, the way that DNS wo...

Justin Ellingwood • Published on February 18, 2014 · Updated on November 4, 2020

featured tutorialA Linux Command Line Primer
This tutorial will provide users who are new to terminal environments with the basics of using a command-line interfa...

Lisa Tagliaferri • Published on December 8, 2020 · Updated on June 16, 2021

featured tutorialSysadmin eBook: Making Servers Work
This book is written with the belief that familiarity with some core areas of system administration will benefit anyo...

Jamon Camisso • Published on March 26, 2020

Subscribe to Linux Basics
Get notified when new articles on Linux Basics are published.
    All
  • 20 Results
    • Question

      How to disable repository from updates in Linux CentOS

      I’m searching for a credible way to disable repositories and stop them from updating my packages. I’ve had some issue and found some ways on the internet but wanted to hear an opinion what’s best
      Accepted Answer: Hello, There are a couple of ways to do so, depending on what you want to achieve. If you now the exact repository you want to deny you can simply run: yum --disablerepo=Repo-Name If you are not sure about the repo’s ...
      2 answers3 days agoBy Brendo RossApacheLinux Basics
    • Tutorial

      DigitalOcean Community Glossary

      A glossary of technical terms for the DigitalOcean community.
      15 days agoBy The DigitalOcean Community TeamLinux BasicsMiscellaneousGetting Started
    • Tutorial

      How To Choose an Effective Backup Strategy

      When dealing with any kind of important data, it is essential that you implement a backup scheme. There are many different ways to back up data on a VPS. In this guide, we will discuss some ways that you can backup yo...
      28 days agoBy Justin Ellingwood, Alex GarnettLinux BasicsBackupsConceptual
    • Tutorial

      How To Use SSHFS to Mount Remote File Systems Over SSH

      Luckily there is a way to mount your VPS file system to your local computer so you can make changes on the fly and treat your droplet as local storage.
      29 days agoBy Paul White, Alex GarnettLinux Basics
    • Tutorial

      How To Upgrade to Ubuntu 22.04 Jammy Jellyfish

      The Ubuntu operating system’s latest Long Term Support (LTS) release, Ubuntu 22.04 (Focal Fossa), was released on April 21, 2020. This guide will explain how to upgrade an Ubuntu system of version 20.04 or later to Ub...
      1 month agoBy Alex GarnettLinux BasicsUbuntuUbuntu 22.04
    • Tutorial

      How to Set Up SSH Keys on Ubuntu 22.04

      In this guide, we’ll focus on setting up SSH keys for an Ubuntu 22.04 installation. SSH keys provide a secure way of logging into your server and are recommended for all users.
      1 month agoBy Alex GarnettGetting StartedLinux BasicsSecuritySystem ToolsUbuntuUbuntu 22.04
    • Tutorial

      How To Add Swap Space on Ubuntu 22.04

      One way to guard against out-of-memory errors in applications is to add some swap space to your server. In this guide, we will cover how to add a swap file to an Ubuntu 22.04 server.
      1 month agoBy Alex GarnettLinux BasicsUbuntuUbuntu 22.04
    • Question

      Need pricing on a linux server.

      Hello, I want a virtual box on a Linux server with 500 gb of storage, 16 or 32 gb of ram and 4 cpus. how much will be the cost for a month and how much is the cost per hour if I choose to use it 6 hours a day. I will ...
      2 answers1 month agoBy Harish KumarLinux Basics
    • Tutorial

      How to Set Up SSH Keys on Ubuntu 18.04

      SSH-key-based authentication provides a more secure alternative to password-based authentication. In this tutorial we’ll learn how to set up SSH key-based authentication on an Ubuntu 18.04 installation.
      2 months agoBy Hanif JethaGetting StartedLinux BasicsSecuritySystem ToolsUbuntu 18.04
    • Tutorial

      How To Set Up SSH Keys on CentOS 7

      SSH-key-based authentication provides a more secure alternative to password-based authentication. In this tutorial we’ll learn how to set up SSH-key-based authentication on a CentOS 7 installation.
      2 months agoBy Hanif JethaGetting StartedLinux BasicsSecuritySystem ToolsCentOS
    • Tutorial

      Package Management Basics: apt, yum, dnf, pkg

      Most modern Unix-like operating system, rely on a centralized package management system for finding and installing software. This guide serves as a quick reference for the fundamentals of finding, installing, and upgr...
      2 months agoBy Brennen BearnesLinux CommandsGetting StartedSystem ToolsLinux Basics
    • Question

      How to pass environment variables to a Docker container?

      I’ve seen this being asked quite a bit, so I’ve decided to write this answer outlining a few ways how to pass environment variables to a Docker container. Hope that this is helpful! If you have any questions post the ...
      Accepted Answer: Set environment variable with the -e flag The -e flag can be used to pass environment variables to a Docker container. For example, if you want to pass the environment variable MY_ENV_VAR to the container, you can do ...
      1 answer2 months agoBy Bobby IlievContainerDockerLinux BasicsLinux Commands
    • Tutorial

      Ubuntu and Debian Package Management Essentials

      Package management software allows you to easily control the software on your servers. These tools allow you to install, remove, update, and configure thousands of packages through a unified interface. In this guide, ...
      2 months agoBy Alex Garnett, Justin EllingwoodSystem ToolsLinux BasicsDebianUbuntu
    • Tutorial

      How To Use ps, kill, and nice to Manage Processes in Linux

      Process management is an essential skill when using any computer system. This is especially true when administrating a server environment. This article will introduce some powerful tools that can be used to manage pro...
      2 months agoBy Alex GarnettLinux CommandsLinux BasicsSystem Tools
    • Tutorial

      How to Add and Delete Users on Ubuntu 20.04

      Introduction Adding and removing users on a Linux system is one of the most important system administration tasks to familiarize yourself with. When you create a new system, you are often only given access to the root...
      3 months agoBy Jamon CamissoLinux BasicsLinux CommandsUbuntu 20.04Interactive
    • Tutorial

      How To Set Up vsftpd for a User's Directory on Ubuntu 18.04

      FTP, short for File Transfer Protocol, is a network protocol that was once widely used for moving files between a client and server. It has since been replaced by faster, more secure, and more convenient ways of deliv...
      3 months agoBy Melissa Anderson, Kathleen JuellLinux BasicsSecurityUbuntu 18.04
    • Tutorial

      How To Add and Delete Users on a CentOS 7 Server

      When you first start using a fresh Linux server, adding and removing users is one of the most basic tasks that you should know how to do. In this guide, we will cover how to create user accounts, assign sudo privilege...
      3 months agoBy Tony Tran, Josh BarnettLinux BasicsGetting StartedCentOS
    • Tutorial

      How To Install and Use Homebrew on Linux

      Homebrew is a package manager that lets you install free and open-source software using your terminal. In this tutorial you’ll install and use Homebrew on Linux.
      3 months agoBy Alex GarnettLinux BasicsInteractive
    • Question

      🧨 fwrite(): write of 2268 bytes failed with errno=28 no space left on device

      Hello, so my website was working just like about 1h ago, then I get clients spamming me that nothing is working. So I try to go to my site and I see this message 🧨 fwrite(): write of 2268 bytes failed with errno=28 n...
      1 answer3 months agoBy Jordanbon19Linux BasicsPHPPHP Frameworks
    • Tutorial

      How To Set Filesystem Quotas on Ubuntu 20.04

      Quotas are used to limit the amount of disk space a user or group can use on a filesystem. Without such limits, a user could fill up the machine’s disk and cause problems for other users and services. In this tutorial...
      3 months agoBy Tony Tran, Brian BoucheronLinux BasicsUbuntuUbuntu 20.04