Skip to main content

Linux Commands

How to Configure NTP for Use in the NTP Pool Project on Ubuntu 16.04
Tutorials Linux Commands Miscellaneous Networking Ubuntu 16.04
Introduction> Introduction # Accurate time keeping is critical for almost any service or software. Emails, loggers, event systems and schedulers, user authentication mechanisms, and services running on distributed platforms all need accurate timestamps to record events in chronological order.
How To Use Bash History Commands and Expansions on a Linux VPS
Tutorials Linux Basics Linux Commands
Introduction> Introduction # While working in a server environment, you’ll spend a lot of your time on the command line. Most likely, you’ll be using the bash shell, which is the default of most distributions.
Initial Server Setup with Debian 8
Tutorials Debian Getting Started Initial Server Setup Linux Basics Linux Commands Security
Introduction> Introduction # When you first create a new Debian 8 server, there are a few configuration steps that you should take early on as part of the basic setup. This will increase the security and usability of your server and will give you a solid foundation for subsequent actions.
How To Manage Packages In Ubuntu and Debian With Apt-Get & Apt-Cache
Tutorials Debian Getting Started Linux Basics Linux Commands Ubuntu
Introduction> Introduction # Apt is a command line frontend for the dpkg packaging system and is the preferred way of managing software from the command line for many distributions. It is the main package management system in Debian and Debian-based Linux distributions like Ubuntu.
How To Configure a Linux Service to Start Automatically After a Crash or Reboot – Part 2: Reference
Tutorials CentOS Debian Linux Basics Linux Commands System Tools Ubuntu
The author selected the Free and Open Source Fund to receive a donation as part of the Write for DOnations program. Introduction> Introduction # In this tutorial you will use systemd to configure MySQL to restart automatically after a reboot or crash.
How To Use Dig, Whois, & Ping on an Ubuntu VPS to Query DNS Data
Tutorials CentOS Debian DNS Fedora Linux Basics Linux Commands Ubuntu
Dig is a networking tool that can query DNS servers for information. It can be very helpful for diagnosing problems with domain pointing and is a good way to verify that your configuration is working.
How To Use ps, kill, and nice to Manage Processes in Linux
Tutorials Linux Basics Linux Commands System Tools
Introduction> Introduction # A Linux server, like any modern computer, runs multiple applications. These are referred to and managed as individual processes. While Linux will handle the low-level, behind-the-scenes management in a process’s life-cycle – i.
How to Add and Delete Users on Debian 8
Tutorials Debian Linux Basics Linux Commands
Introduction One of the most basic tasks that you should know how to do on a fresh Linux server is add and remove users. When you create a new system, you are often only given the root account by default.
Using Grep & Regular Expressions to Search for Text Patterns in Linux
Tutorials Linux Basics Linux Commands
Introduction> Introduction # The grep command is one of the most useful commands in a Linux terminal environment. The name grep stands for “global regular expression print”. This means that you can use grep to check whether the input it receives matches a specified pattern.
How To Use Find and Locate to Search for Files on Linux
Tutorials Linux Basics Linux Commands System Tools
Introduction> Introduction # One problem users run into when first learning how to work with Linux is how to find the files they are looking for. This guide will cover how to use the aptly named find command.
How To Build Go Executables for Multiple Platforms on Ubuntu 16.04
Tutorials Applications Linux Commands Miscellaneous Open Source Ubuntu
Introduction> Introduction # The Go programming language comes with a rich toolchain that makes obtaining packages and building executables incredibly easy. One of Go’s most powerful features is the ability to cross-build executables for any Go-supported foreign platform.
Systemd Essentials: Working with Services, Units, and the Journal
Tutorials Linux Commands Logging System Tools
Introduction> Introduction # In recent years, Linux distributions have increasingly transitioned from other init systems to systemd. The systemd suite of tools provides a fast and flexible init model for managing an entire machine from boot onwards.
How To Use Bash’s Job Control to Manage Foreground and Background Processes
Tutorials Linux Basics Linux Commands
Introduction> Introduction # In a previous tutorial, we discussed how the ps, kill, and nice commands can be used to control processes on your system. This guide highlights how bash, the Linux system, and your terminal come together to offer process and job control.
How To Configure a Linux Service to Start Automatically After a Crash or Reboot – Part 1: Practical Examples
Tutorials CentOS Debian Linux Commands System Tools Ubuntu
The author selected the Free and Open Source Fund to receive a donation as part of the Write for DOnations program. Introduction> Introduction # In this two-part tutorial, you will learn how to configure a Linux service to restart automatically after a reboot or crash using systemd.
How to Add and Delete Users on Ubuntu 18.04
Tutorials Linux Basics Linux Commands Ubuntu 18.04
Introduction> 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 account by default.
How To Use the AWK language to Manipulate Text in Linux
Tutorials Linux Basics Linux Commands System Tools
Introduction> Introduction # Linux utilities often follow the Unix philosophy of design. Tools are encouraged to be small, use plain text files for input and output, and operate in a modular manner.
Package Management Essentials: apt, yum, dnf, pkg
Tutorials Getting Started Linux Basics Linux Commands System Tools
Introduction> Introduction # Most modern Unix-like operating systems offer a centralized mechanism for finding and installing software. Software is usually distributed in the form of packages, kept in repositories. Working with packages is known as package management.
The Basics of Using the Sed Stream Editor to Manipulate Text in Linux
Tutorials Linux Basics Linux Commands
Introduction> Introduction # The sed command, short for stream editor, performs editing operations on text coming from standard input or a file. sed edits line-by-line and in a non-interactive way.