Whether you’re an experienced system administrator or a Linux beginner, whether you’re managing an enterprise-grade network or just your home network, you must be aware of security issues.
terminal
How to Check SELinux Status (Operational Mode)
SELinux, which stands for Security Enhanced Linux, is an extra layer of security control built for Linux systems. SELinux has three possible modes in which it can be running. Depending on which mode it’s in will determine the behavior of SELinux. In this tutorial, we’ll show you how to check the SELinux status aka. operational mode. The most common and easiest way to check SELinux status is by executing the getenforce command.
Linux ipconfig equivalent
As Windows users migrate over to a Linux system, one of the first questions that arises is “what is the ipconfig Linux equivalent command?”
Check running process in linux for a user
Everything that is running on a Linux system – a service, script, or anything else – is considered a “process.” One of the core activities of a system administrator is that of monitoring and interacting with the processes running on a machine.
How to synchronize time with NTPD time server
NTP stands for Network Time Protocol and is used for clock synchronization across multiple computers. An NTP server is responsible for keeping a set of computers in sync with each other. There are NTPD servers available over the internet to which you can sync, or you can run your own NTPD server and configure client computers to sync their times to it.
SSH remote login syntax and examples
The SSH protocol in Linux is used to manage remote systems. Ordinarily, this would be another Linux system, but it could also be a firewall, router, or even a different operating system entirely. Using the SSH protocol to remotely log into another system will give you a command line terminal that you can fully access as if you were physically in front of the machine.
Enable/Disable Last Login Message on Linux using hushlogin
When logging into a Linux system from the terminal, especially via SSH, you may have noticed some output that gives information about the last login.
adduser vs useradd in Linux
All Linux systems have access to hundreds or thousands of different commands. Some of these commands serve similar purposes, though there is usually a particular tool that is more suited for certain jobs. Such is the case with the adduser and useradd commands on Linux.
Change hardware clock in Linux
The purpose of this tutorial is to change the hardware clock in Linux. You may have wondered how your Linux system always has the correct date and time when you start up your computer, even if it does not have internet access. How is the computer keeping track of time even when it is powered off?
Linux Fork Bomb
A Linux fork bomb is one of the oldest and most succinct ways to crash a Linux system. It is a type of denial of service attack that works by spawning more and more processes, until eventually all the resources on the system are tied up and it crashes.
Nohup command in Linux with Examples
The nohup command in Linux is used to tell a process to ignore any SIGHUP
(hangup) signals that it receives. The SIGHUP signal is sent to a background job whenever the current terminal is closed. Thus, we can have a job in the background, close the terminal, and still see it running in the background.
Bash printf syntax examples
This tutorial will explore the bash printf command with syntax examples on Linux systems. When writing bash scripts, most of us by default use the echo
command as a means to print to standard output stream.