The Baeldung logo
  • The Baeldung LogoLinux Sublogo
  • Start Here
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Administration

Linux system administration includes installation, configuration, and managing of the system. Learn about topics such as general administration, user management, process management, networking, and security.

  • sudo (31)
  • bash (29)
  • systemd (27)
  • ssh (25)
  • Docker (24)
  • systemctl (21)
  • kernel (20)
  • Kubernetes (18)
  • apt (17)
  • Hardware (17)
  • grep (16)
  • kubectl (14)
  • passwd (14)
  • cron (14)
  • ls (13)
  • lshw (13)
  • Shell (11)
  • dmesg (11)
  • cat (11)
  • dnf (10)
  • useradd (10)
  • lsblk (10)
  • su (10)
  • grub (9)
  • top (9)
  • dpkg (9)
  • ip (9)
  • awk (9)
  • find (9)
  • mount (9)
  • rsync (8)
  • fdisk (8)
  • nginx (8)
  • free (8)
  • sys (8)
  • chmod (8)
  • usermod (8)
  • screen (7)
  • proc (7)
  • mysql (7)
  • dmidecode (7)
  • swap (6)
  • ps (6)
  • VirtualBox (6)
  • ssh-keygen (6)
  • apt-get (6)
  • dd (6)
  • rpm (6)
  • lscpu (6)
  • journalctl (6)
  • curl (6)
  • wget (6)
  • service (6)
  • id (6)
  • echo (5)
  • env (5)
  • vim (5)
  • docker-compose (5)
  • lsof (5)
  • groups (5)
  • kill (5)
  • copy-edit (5)
  • Debian (4)
  • xinput (4)
  • UFW (4)
  • gsettings (4)
  • Jenkins (4)
  • script (4)
  • man (4)
  • Java (4)
  • last (4)
  • which (4)
  • envsubst (4)
  • iptables (4)
  • sysctl (4)
  • scp (4)
  • history (4)
  • netstat (4)
  • rm (4)
  • export (4)
  • readelf (4)
  • objdump (4)
  • xargs (3)
  • yum (3)
  • netcat (3)
  • Apache (3)
  • whoami (3)
  • LVM (3)
  • sed (3)
  • no-ads (3)
  • gcc (3)
  • ldd (3)
  • Encryption (3)
  • df (3)
  • nmcli (3)
  • tar (3)
  • Python (3)
  • readlink (3)
  • killall (3)
  • pkill (3)
  • chown (3)
  • alias (3)
  • ulimit (3)
  • mysqlcheck (3)
  • puttygen (3)
  • sar (3)
  • vmstat (3)
  • git (2)
  • sleep (2)
  • IP Address (2)
  • cut (2)
  • LDAP (2)
  • cp (2)
  • Inactive Job (2)
  • zsh (2)
  • openssl (2)
  • logrotate (2)
  • ifconfig (2)
  • ftp (2)
  • sftp (2)
  • umount (2)
  • mv (2)
  • ethtool (2)
  • tcp (2)
  • vi (2)
  • strace (2)
  • ping (2)
  • perl (2)
  • tail (2)
  • du (2)
  • ncdu (2)
  • printenv (2)
  • uname (2)

>> How to Replicate Packages Across Linux Systems

>> How to Unpack, Modify, and Repack a .deb Package

>> How to Disable the Internal Keyboard of a Laptop on Linux

>> How to Install a Specific Version of a Package Using DNF

>> Quotas and Setting Limits on Directory Sizes

>> Linux System Testing Tools

>> Splitting Display Into Two Virtual Screens Using xrandr in Linux

>> How to Enable Diffie-Hellman Key Exchange in Linux for Secure SSH

>> How to Increase Swap Space in Linux

>> Running GUI Applications in a Linux Docker Container

>> Is It Possible to Undo a Command in Shell?

>> Why Are There Multiple Shell Prompts?

>> Viewing Long Commands in ps Output

>> IRC Clients for the Linux CLI

>> Data Backup Tools for Linux

>> Difference Between Always and OnFailure Kubernetes Restart Policy

>> How to Resize VirtualBox Virtual Hard Disk

>> Connecting to a Remote Redis Server

>> How to Check Which Service Manager a Linux Machine Is Using

>> Difference Between ls, ls *, ls **, and ls ***

>> Restore Default Debian and Ubuntu Repositories

>> Starting Applications Automatically After Reboot Using PM2

>> Why Can’t Linux Usernames Start With Numbers?

>> Kernel Parameters acpi_osi=linux and acpi_backlight=vendor

>> Analyzing Cache Misses Using the perf Tool in Linux

>> How to Mirror Dual Monitors With Different Resolutions

>> Adjust the Mouse Scroll Speed in Linux

>> The Meaning of the Symbols !, !! and * in /etc/shadow

>> Increasing Screen Size/Resolution on a VirtualBox Instance

>> How to Improve Boot Speed of Linux

>> How to Change the Cursor Shape, Color, Blink Rate of a Linux Console

>> Differences Between Unix, Linux, BSD, GNU

>> How to Create and Use VirtualBox Snapshots

>> Jenkins Pipeline – Git Checkout With Credentials

>> What Is an AppImage?

>> How to Burn a CD or DVD ISO in the Linux Terminal

>> Show Sizes in Human-Readable Format in top

>> Launching a Shell Script by Double-Clicking

>> Enable the MySQLi Extension on Linux

>> How to Remove Personal Package Archives (PPAs)

>> Getting Started With KVM Linux

>> Linux CLI Chat Over LAN

>> Format a USB Drive in Linux

>> Listing Installed Packages in Order of Installation Dates in Linux

>> What Is the Difference Between UUIDs Returned by blkid and mdadm

>> Checking for NUMA Capabilities

>> How to Return From Root Login to User Login in Shell

>> Modify systemd Config Without Touching Upstream Unit File

>> Understanding the Linux Power Button, Input Events, and Inhibitors

>> Meaning of “watchdog did not stop!” Message at Shutdown in Linux

>> How to Run a Process With a Specific Group

>> Testing Disk Performance on Linux

>> Dump Memory Image From a Linux System

>> Passing Multiple Commands to a Kubernetes Container

>> Understanding the /etc/aliases File

>> Checking Active SSH Keys on Linux

>> Difference Between man and info Documentation

>> How Does Linux Know Where rootfs Is?

>> Importing Multiple SQL Dump Files Into MySQL From the Command Line

>> Understanding Timekeeping and Clocks in Linux

>> Switch Between Multiple Java Versions

>> What Is the Difference Between i686 and x86_64 Packages

>> Controlling Fan Speed in Linux

>> Scheduling Jobs Randomly Within a Specific Period in Linux

>> Clearing IP Address of Ethernet Interface in Linux Without Cycling or Restarting

>> How to Find Out the Wireless Card Frequency in Linux

>> Guide to Personal Package Archives

>> How to Check Monitor Names in Linux

>> Running ASP.Net on a Linux-Based Server

>> How Is the Page Size Determined in Virtual Address Space?

>> How to Create a Bootable USB Drive in Linux

>> Mount Filesystems Within a Docker Container

>> How to List Available Shells on a Linux Machine

>> Linux Software Packages and How Are They Different From Other OS Package Format

>> Multiple Terminals in One Window

>> Need for the irqbalance Command in Linux on Modern Hardware

>> Bidirectional Clipboard Piping in Bash

>> How to List Files by Type With ls

>> Checking Whether Automatic Updates Are Enabled on Debian/Ubuntu

>> Difference Between Arch and Gentoo Linux Distributions

>> How to Delete Non-empty Directories Using the find -delete Command

>> How to Use Conditional Constructs in Jenkins Pipeline

>> The $TERM Environment Variable

>> Kubernetes Equivalent of env-file in Docker

>> Kubectl Apply to All Files in a Directory

>> Welcome Banners and Messages

>> Allow Password Change That Is Similar to the Previous Password in Linux

>> Starting a Docker Container on a Remote Host

>> The sync Command

>> Guide to Linux CLI Calendar

>> Differences Between GTK+ and Qt Applications

>> How to Run poweroff and reboot as a Normal User

>> Permanently Disable GNOME Screensaver System-Wide

>> DNF Package Manager: dnf history rollback vs. undo

>> Configure the Order of Kubernetes Pod Initialization

>> Adjust GRUB Menu Font Size

>> The Difference Between systemd Scope and systemd Slice

>> Download and Extract Archive Without Saving Archive to Disk

>> uptime Internals and System Uptime Epoch

>> What Are Display Managers and How Do They Work?

>> Kernel Module Loading at Boot and modprobe Automation

>> Automatic Docker Login in a Bash Script

>> What Commands Should Be Run After Updating the /etc/passwd File

>> Installing man Pages Manually

>> Differences Between Drive, Partition, and Volumes in Linux

>> Scale Up/Down Kubernetes Pods

>> Restarting a Service Automatically if Its Dependent Is Restarted

>> Changing Monitor Brightness on Linux

>> Creating an Installer for a Linux Application

>> Understanding the dm-0 Device in Linux

>> Differences and Use Cases for Chrony and systemd-timesyncd

>> How to Run curl Command From Within a Kubernetes Pod

>> Shortening the Current Directory Path in the Terminal on Linux

>> Different Range of User IDs Value in Linux

>> Buffer and Cache as Reported by the free Command

>> Sidecar vs. Init Container in Kubernetes

>> How to Create Automatically Expiring User Accounts?

>> Why the Use of the which Command Isn’t Recommended

>> How to Find the Drivers Associated With a Device on Linux

>> Returning Only One Value Using ldapsearch

>> How to Use a Different Username by Default in SSH for a Specific Host

>> Where Does MySQL Store Its Database Files

>> DevOps Lead with Experience in LAMP/LEMP and CI/CD Stack (remote, part-time)(not open)

>> Understanding ConfigMaps and Secrets in Kubernetes

>> How to Disable CPU Cores in Linux

>> How to Automate Mouse Movements Using the Command Line

>> Swappiness in Linux

>> Checking the Scheduled Time of a Delayed Shutdown in Linux

>> Environment Variables in Kubernetes Pod

>> Sharing Secrets Across Namespaces in Kubernetes

>> List All Resources in a Namespace in Kubernetes

>> Differences Between vmlinux, vmlinuz, vmlinux.bin, zimage, and bzimage

>> Managing the GRUB Menu in Fedora Distributions

>> How to Create /dev/null

>> Changing rpath in an Already Compiled Binary

>> Understand the Total Output of ls

>> Running fsck on a Mounted Partition

>> How to Invoke Shell Scripts on Mouse Events

>> Deployment Rollout in Kubernetes

>> How to Delete All Pods in All Kubernetes Namespaces

>> How to Pass an Environment Variable in Kubernetes Deployment

>> Enabling PowerTools Repository in CentOS and RPM Distributions

>> Understanding Labels and Annotations in Kubernetes

>> Verifying if a Disk Is Encrypted in Linux

>> kubectl attach vs. kubectl exec

>> Sidecar Containers in Kubernetes Pods

>> How to Check Whether a Machine Is Booted Using the UEFI

>> Change Keyboard Layout in the Linux Console

>> The Logging Mechanism in Linux

>> How to Find the Size of L1, L2, and L3 Cache in Linux

>> How to Check Whether Port Forwarding Is Enabled on a Linux Machine

>> How to Setup a Development Environment for Shell Scripting in Linux

>> Get Current Image of Kubernetes Deployment

>> Accessing the BIOS Information in Linux

>> Understanding livenessProbe and readinessProbe in Kubernetes

>> Init Containers in Kubernetes

>> How to List All Cron Jobs for All Users on Linux

>> Changing the Default Audio Device From the Command Line

>> Checking the Version of NFS That an NFS Server Is Using

>> How to Check Whether Arp Is Enabled

>> Restricting Computer Time on Linux

>> Switching User in Docker Image or Container

>> How to Use Dark Theme for All GTK Applications

>> Can systemd Show How Many Times a Service Restarted?

>> How to Get Total Read and Total Write IOPS in Linux

>> Controlling a USB Port Power Supply With Linux

>> ICMP Redirect Messages

>> Waiting for Server Restart in Ansible

>> Validating HAProxy Config Files

>> How to Enable/Disable Touchpad Scrolling and Tapping Using the Command Line

>> Disabling a Wireless Network From the Linux Command Line

>> Why Is Linux a Monolithic Kernel?

>> How to Use chmod Without /usr/bin/chmod

>> Differences Between BSD tar and GNU tar and star

>> World-Writable Directories in Linux

>> How to Create Virtual Serial Port in Linux

>> How to List Namespaces in Linux

>> The requiretty Option of sudo

>> modprobe and Fixing the “Operation not permitted” Error

>> Checking How Much Power a USB Port Delivers

>> Run Arbitrarily Complex Commands Using sudo Over SSH

>> Solving the Error “Pseudo-terminal will not be allocated because stdin is not a terminal”

>> What Is the Purpose of the /dev/zero File?

>> How to Find Out What Is Using a Kernel Module

>> LDAP Authentication From the Command Line in Linux

>> Does Killing an SSH Session Kill the Programs?

>> Checking Which Services Need Restart After the System Update

>> How to Access Microsoft Windows Administrative Share From Linux

>> Huge Page Settings and Disabling Huge Pages in Linux

>> How to Test for POSIX Compliance of Shell Scripts

>> Fix for ‘Username Is Not in the Sudoers File. This Incident Will Be Reported’

>> Listing the Active Directory User Attributes

>> Automatically Starting Services in a Docker Container

>> How to Check Whether a USB Device Is Present on a Linux Machine

>> How to Monitor All Login Attempts in Linux

>> Systemd Unit File Permissions

>> Add Syntax Highlighting and Additional Features to the Shell Command-Line

>> Determining the Key Size Using OpenSSL

>> Owner of a Mounted Partition

>> Enable Auto Completion for Remote Paths When Using scp

>> How to Cause a Linux Kernel Panic From the Terminal

>> Setting ulimit Limits in systemd Units

>> Disabling Desktop Screen Lock in GNOME

>> Checking the Status of a Service Without Having an Exact Name

>> Directing the Output of wget to /dev/null in cron

>> Managing Password Complexity in Linux

>> Restrict a User to One Directory

>> Check and Change Default Document Root in NGINX

>> How to Check HDD/SSD Temperature in Linux

>> How to Enable/Disable Touchpad in Linux

>> Changing Date Format in Syslog

>> Loading Kernel Modules in a Docker Container

>> Logging Every Command Executed by a User

>> Deleting Files With Logrotate

>> How to Convert a Shell Script Into a Binary Executable

>> Redirecting the Output of a Cron Job to stdout

>> Remove and Avoid Duplicate Entries in Bash History

>> How to Close a TTY?

>> What Happens to the Processes When Memory Gets Short in Linux

>> How to Restart a Network Interface

>> How to Determine a Specific File Responsible for High I/O

>> Converting dmesg Timestamps to Conventional Date and Time Format

>> Automate FTP Login and Scripting Using the Shell

>> Listing the Contents of an RPM Package Without Using the Package File

>> Getting Network Interfaces in Ansible

>> How to List All Physically Installed Network Cards in Linux

>> How to Configure Multilingual Fonts on Linux

>> Is It Safe to Clear the /tmp Temporary Directory?

>> Guide to Tasksel

>> Checking a Running MySQL Server’s Port

>> How to Unmount a Formerly Chroot’d Filesystem

>> Two Ways to Disable the Beep Sound in Linux

>> Checking Whether Logged in via VPN

>> “Permission Denied While Trying to Connect to the Docker Daemon Socket” Error

>> How to Get and Set the Volume Level Using the Command Line

>> Finding the Device Driver Used for a Device

>> Getting the Kernel Command-Line Parameters

>> How to Add an IP to a Hostname File

>> Setting the User in a Docker Container From the Host

>> Displaying the Execution Tree of systemd

>> Checking RPM Dependencies From the Command Line

>> The Difference Between sudo -i and sudo su –

>> Listing All Loadable Kernel Modules

>> The /etc/resolv.conf File

>> How to Remove the Timeout From GRUB Menu

>> Copy Variables Between Stages in a Multi Stage Docker Build

>> How to Transfer a File From Windows to Linux

>> How to Change root Password via sudo Without su

>> Creating a New SSH User

>> Symbolic and Hard Link Modification and Ownership Changes

>> Difference Between systemctl mask and systemctl disable

>> Getting Notification When systemd Service Fails

>> Finding Installed Fonts From the Command Line

>> How to Create a Shortcut to Execute a Shell Script in Bash

>> Conversion of a Disk from MBR to GPT with UEFI

>> How to Check for User Group Privileges

>> How to Set a Non-expiring Password on Linux

>> Disabling TCP Offload

>> Checking a Library Version in Linux

>> How to Make a File Unmodifiable in Linux

>> Mount Device With Specific User Rights

>> How to Change Desktop Wallpaper from the Terminal

>> How to Check Services on Non-systemd Linux

>> How to Retrieve Password Expiry Time in Shell

>> Separate Home Partition – Pros and Cons

>> Alias a Hostname in Linux

>> How To Use QEMU From the Linux Command-Line

>> How to Check TCP Timeout in Linux

>> How to Properly Install Chrome From the Command-Line

>> What’s the Purpose of the -f Option in the rm Command

>> How to Access the Default Logs Directory for Package Managers in Linux

>> How to Kill a Process Based on the Process Arguments

>> How to Add Messages to the Kernel Buffer

>> How to Convert CUE, BIN, IMG Images to ISO Images in Linux

>> The “at” Command in Linux

>> df Command Giving Incorrect Disk Usage Information

>> Checking Weather from the Command Line

>> Checking BIOS Version and Name From the Command Line

>> How to Safely Move /tmp to a Different Partition

>> Get PID of a Just-Started Process

>> Checking vi Version Installed on a Linux Machine

>> How to Display Wireless/WiFi Information in Real-time in Linux

>> Getting a Unique Machine Identifier

>> How to Properly Manage Multiple Python Versions

>> How to Write iptables Logs to a Separate File

>> Meaning of Systemd multi-user.target

>> Moving Files to Directories Based on the Extension

>> Set and Determine the Baud Rate of a Serial Port in Linux

>> How to Install LaTeX on Linux

>> How to Combine Two Logical Volumes on a Single Physical Volume With LVM

>> How to Login as User “jenkins” After Installing Jenkins

>> How to Operate as Root in GUI

>> How to Expire a Password for Initial Account Creation

>> Start Systemd Service After Specific Service

>> How to Read Log Files Between Two Dates

>> Start a systemd Service Conditionally

>> How to Leave a Message for Another Local User in Linux

>> IP Address Geolocation Lookups on Linux With GeoLite2

>> Viewing Apache Enabled Modules in Linux

>> Placing Files in RAM in Linux

>> Cleartext Passwords in the Shell and How to Handle Special Characters

>> Using Active Directory to Authenticate Linux Users

>> Good Place to Install Custom Bash Scripts in Linux

>> Checking Which Processes Are Using Semaphores

>> Encrypted Remote Backups via rsync

>> What Do ALSA Devices Like hw0,0 Mean?

>> System Calls and Library Calls in Linux

>> Setting the Default python to python3

>> Encrypting and Decrypting Directories on Linux With gocryptfs

>> How to Filter strace’s Output Using grep

>> What Happens to Scheduled Crontab Jobs When the Computer Is Shutdown

>> Dropping Page Cache in Linux

>> Increasing Scrollback Buffer of a Screen Session

>> How to Do a Complete Clean Reinstall of MySQL on Linux

>> Pass the Password to su/sudo/SSH Without Overriding the TTY

>> ssh-agent Forwarding and sudo Into Another User

>> What Does mdev Mean in ping Statistics?

>> How to Check Whether Terminal Can Print Colors

>> How to Remove Default Gateways via ip

>> Extracting the Contents of an RPM Package Without Installation

>> Checking Whether the Display Server Is Xorg or Wayland

>> How to Output a Variable in Nginx Log for Debugging

>> How to Navigate Man Pages Efficiently

>> Clear the Cache of Nginx

>> Why Is chmod -R 777 / Destructive

>> Splitting a Large Nginx Configuration File

>> Path of Bash Script From Symbolic Link

>> Custom Welcome Message for SSH

>> How to Change the Default vsftpd FTP Server Path

>> Difference Between apt and apt-get

>> How to Install and Set Up Headless Linux

>> Adding Other Operating Systems to the GRUB Bootloader

>> Locales and How to Find Character Encoding of Linux Terminal

>> Extend The Session Time for sudo

>> Nginx Flags: Difference Between break and last

>> How to Automount USB Devices in Linux

>> Difference Between apt-get update and apt-get upgrade

>> How to Reinstall Apt on Ubuntu/Debian

>> The Interactive and TTY Options in docker run

>> How to Manage and Keep Environment Variables When Using sudo

>> What Is an ELF File?

>> How to Create a Linux Live USB With Persistence Using Easy2boot

>> How to Solve the “sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set” Error

>> How to Automatically Suspend and Wake a Linux Machine

>> Managing the Way the File Is Cached in RAM

>> How to Control Variable Access in the sudo Environment?

>> Prevent Specific Package Update in Linux

>> /etc/shadow and Creating yescrypt, MD5, SHA-256, and SHA-512 Password Hashes

>> Reordering UFW Firewall Rules

>> How to Delete Files With Names That Contain Non-printable Characters

>> Swap Partition vs Swap File

>> What Is the /dev/mem File?

>> Ways to Stop and Restart a Linux System or the Difference Between halt, poweroff, shutdown -H, and shutdown -P

>> Resolving Unmet Dependencies on Linux

>> Using systemctl to List All Failed Units

>> Use Bash With Alpine Based Docker Image

>> Temporarily or Permanently Disable Every Job Listed in a Crontab

>> How to Use which on an Aliased Command

>> How to Run a Cron Job Periodically Between a Time Range

>> How to Backup Cron Files

>> Manual Network Configuration in Linux and How to Set a Static IP Address

>> Manually Add a User Without Tools Like useradd and adduser

>> How to Allow Only SSH Access Using iptables

>> Using SSH Name Resolution to Associate Name with IP

>> Adjusting Screen Resolution in Linux

>> How to Use the Batch Mode of rsync

>> Automate Commands Upon SSH Connection

>> Docker Image Storage on the Host Machine

>> How to Setup a Base Package Repository in RHEL

>> Using Colors With the watch Command

>> SSH Key Types and Formats or How to Convert PuTTY .ppk to OpenSSH Keys Under Linux

>> How to Uninstall Nginx Completely

>> SSH Key Comments and Adding a Comment to an Existing Key

>> Check How Long the Linux System Has Been Running

>> Send a Message to the Systemd Journal From the Command Line

>> Output a List of Changed Files From rsync

>> Docker Compose: Wait for Container X Before Starting Y

>> Properly Remove an RPM Package

>> How to Fix Docker’s No Space Left on Device Error

>> Disable Hyperthreading From a Running Linux System

>> Using sar to Show Current and Past System’s Statistics

>> Running a Docker Image as a Container

>> Difference Between VBoxVGA, VMSVGA, VBoxSVGA in VirtualBox

>> Connecting to a Windows Machine From Linux With Putty

>> Check if IP Multicast Is Enabled

>> How to Clear Logs in Linux

>> Creating a Non-login User on Linux

>> How to Disable IPv6 Globally and on a Specific Interface

>> Check Whether a MySQL Database Exists Using Shell

>> Guide to the Boot Process of a Linux System

>> Add a Volume to an Existing Docker Container

>> Obtain Kernel Config from Currently Running Linux System

>> Passing Multiple Parameters to a systemd Service

>> Creating and Removing systemd Services

>> Get Username by User ID in Linux

>> How to Verify the Speed of My NIC?

>> Add a User in Alpine Docker Image

>> Script to Automatically Test if a Website Is Available

>> List All Superusers in Linux

>> Linux Error “No passwd entry for user”

>> Create a Virtual Machine in VirtualBox From a Physical Installation of Linux

>> How to Set Default Entry for the Grub Menu

>> Reset a Lost User’s Password

>> Check If a User Exists in Linux

>> How to Check Cron Logs in Linux

>> Using Environment Variables in Nginx Config File

>> Difference Between sites-available, sites-enabled, and conf.d Directories

>> Run a Shell Script Without Using “sh” or “bash” Commands

>> The update-alternatives Command in Linux

>> Force Logout a User in Linux

>> The /proc/meminfo File in Linux

>> Make Apache Web Server Listen on Two Different Ports

>> How to Use UFW (Uncomplicated Firewall)

>> How to Install and Use Popular Linux Bootloaders

>> Running MongoDB as a Docker Container

>> Monitor Device Events in Linux

>> How To Detect Disk’s I/O Bottlenecks

>> How to Change the Timezone on Linux

>> Optimize Battery Life in Linux

>> Linux GUI Tools for Git Similar to Sourcetree

>> Purpose of Swap Files in Vim

>> Allow Users in fstab File to Read and Write to a Partition

>> Restart a Stopped Docker Container

>> How to Clean Up a Linux System

>> Expand the LVM Space on a Server Accessible Only via SSH

>> How to Resize and Move Partitions in Linux

>> Linux error ‘sudo: no tty present and no askpass program specified’

>> Checking a User’s Sudo Access

>> Linux Memory Overcommitment and the OOM Killer

>> Unlocking a Linux User Account After Too Many Failed Attempts

>> Setup Default Desktop Environment on Start Up

>> Wipe Free Space in Linux

>> What Is X11?

>> Monitor Internet Bandwidth Usage on Linux

>> How to Check if a Shared Library Is Installed

>> How to Delete a User in Linux When the System Says Its Currently Used in a Process

>> How to Add Public Key to known_hosts File

>> Boot Linux in Command Line Mode Instead of GUI

>> How to View CPU Speed on Linux

>> Limits on the Number of Linux File Descriptors

>> Customizing Bash Prompt

>> Difference Between a Terminal, Shell, TTY, and Console

>> Docker Error Bind: Address Already in Use

>> Installing and Managing Multiple Node.js Versions in Linux

>> Changing the Primary Monitor in X and Wayland

>> How to Ignore File Properties When Using rsync

>> Add a User to Multiple Linux Groups

>> Running Docker Without sudo

>> Terminal Shortcuts and How to Unfreeze the Terminal After Pressing Ctrl-S

>> Run Part of a Shell Script as a Different User With Runuser

>> Primary and Secondary Groups in Linux

>> Checking the Health of a Storage Device in Linux

>> Figuring Out Which Files in /dev are Block USB Devices

>> Introduction to Flatpak in Linux

>> List All Users in a Linux Group

>> Find Out Linux Distro Through the Command Line

>> Allowed Characters in Linux Environment Variable Names

>> List Installed Packages in Linux

>> Creating and Restoring a Linux System Image

>> Get the Current User in Linux

>> Where Are sudo Incidents Reported?

>> Find Out System Hardware Info From the Linux Command Line

>> How to Completely Remove a Package in Linux

>> What Is /dev/sda in Linux?

>> Monitoring Linux File Access With auditd

>> Guide to Virtual Disk Images

>> Syncing Time With Network on Linux

>> Get Current System Time Zone in Linux

>> Monitor Resource Usage of a Single Process

>> Restrict Size of the Buffer Cache in Linux

>> How to Set or Change System Hostname in Linux

>> Benchmarking Linux Systems

>> The Difference Between Systemctl and Service Command in Linux

>> Checking the Battery’s Status via the Terminal

>> Log the Memory Consumption on Linux

>> How to Compile 32-bit Binary on 64-bit Linux System

>> How to Extract IPv4 Addresses from Files in Linux

>> List All Available Commands and Aliases in Linux

>> Find Out CPU Temperature From the Command-Line

>> Bash Command to Check if Oracle or OpenJDK Is Installed

>> How to Obtain Basic Information About System and Disk Partitions?

>> Linux Setuid Programs and Their User IDs

>> Start, Stop, and Restart Nginx on Linux

>> The Exclamation Mark (!) in Interactive Shells

>> Linux Shells Performance: dash vs bash

>> How to Give Sudo Privileges to a User in Linux

>> Dealing with Frozen Windows and Desktop on Linux

>> Cannot Write to Directory Despite Having Group Permission in Linux

>> Managing Users and Groups in Linux

>> Bash, LAMP and LEMP Stack Professional (remote, part-time)

>> Find All Serial Devices on Linux Without Opening Them

>> Disassembling Machine Code in Linux

>> Different Ways of Running Jenkins in Linux

>> Managing gnome-terminal From the Command Line

>> What Do Identifiers Mean in Linux?

>> Check and Monitor Active GPU in Linux

>> Find Out What Symbols Are Exported From a DLL File on Linux

>> How Is the Linux Kernel Tested

>> Buffer and Cache Memory in Linux

>> View the List of Functions Exported by a Linux Shared Library

>> Find Out When a Linux System Was Installed

>> Find Swap Memory Usage by Processes in Linux

>> An Overview of ARM64, ARMel and ARMhf Processor Architectures

>> Linux envsubst Command with Examples

>> Remove Redundant Paths From the $PATH Variable

>> Substitute Shell Variables in a Text File

>> Redirect the Output of systemd Service to a File

>> Using the passwd Command from Within a Shell Script

>> Looking for a Linux Technical Editor for Baeldung (not open)

>> Running a Linux Command on Start-Up

>> Setting the Vim Background Colors

>> Multiple glibc on a Single Linux Machine

>> Configure a Systemd Service to Restart Periodically

>> How to Disable User Logins on Linux

>> Find All Storage Devices Attached to a Linux Machine

>> Configuration Files in Linux

>> Linux Administration Guide

>> Fixing the “Command Not Found” Error When Using Sudo

>> Automating User Account Creation with Password in Shell

>> Check if an SMTP Server Is Working From the Linux Terminal

>> Empty the Buffer and Cache in Linux

>> Understanding Bind Mounts

>> Shell Script for Logging Into a SSH Server

>> The “Oldconfig” Target in the Linux Kernel Makefile

>> How to Show the wget Progress Bar Only?

>> How to Monitor Disk IO in a Linux System

>> Use sudo Command in Non-Interactive Mode

>> Fixing the “Too many open files” Error in Linux

>> GUI Under Linux

>> Linux Process States

>> Setting Command Timeouts in Bash

>> Linux in Virtual Machine vs. on Native Hardware

>> Including Additional Files in .bashrc

>> A Guide to POSIX

>> Understanding the /dev Directory in Linux

>> How to Run a Script at a Certain Time on Linux

>> Rotating Logs With Logrotate in Linux

>> Find the Graphics Card Version from the Command Line

>> Solving the “bad ELF interpreter” Error

>> Get Overall CPU Usage on Linux

>> Deploying Long Running Applications in Linux

>> Get the Number of Processors/Cores in Linux

>> “No such file or directory” Error When Executing a Binary

>> Determine the Current Shell in Linux

>> How to Create a CPU Spike in Bash

>> Network Failures Simulation in Linux

>> How to Find Which Process Was Killed by Linux OOM Killer

>> What’s the Difference Between sh and Bash?

>> Command Line Clipboard Access and Alternatives

>> Find Out the Total Physical Memory (RAM) on Linux

>> The Most Common Flags in /proc/cpuinfo with Examples

>> SSH Tunneling and Proxying

>> Copying SSH Keys To Another Machine

>> What are .a and .so Files?

>> tmux in Linux

>> How to Load Environment Variables in a Cron Job

>> Is My Disk SSD or HDD?

>> Find the Java SDK Location

>> How to Find All Links for a Specific File

>> Command Chaining: Inline or Already Running Processes

>> Kill All Members of a Process Group

>> How to Remove Symbolic Links

>> Mounting Remote Directory in Linux Using SSHFS

>> Remote File Synchronization in Linux

>> List All Groups in Linux

>> Changing the Default Shell in Linux

>> The strace Command in Linux

>> Bash HISTSIZE vs. HISTFILESIZE

>> How to Check Logs Using journalctl

>> Run a Java Application as a Service on Linux

>> How to Delete the History of the Last n Commands?

>> Monitoring Network Usage in Linux

>> Specify an Editor for Crontab

>> Run a Script on Startup in Linux

>> Mapping Hostnames with Ports in /etc/hosts

>> Encrypting and Decrypting Directory in Linux

>> Linux Interview Questions

>> Difference Between .bashrc, .bash-profile, and .profile

>> Why Should We Disable Root-Login Over SSH?

>> Preserve Bash History in Multiple Terminal Windows

>> Using the find -exec Command Option

>> Evolution of Docker from Linux Containers

>> Running Script or Command as Another User in Linux

>> How to Use the mysql Client and Related Utilities

>> How to Record Linux Terminal Sessions

>> How to Force Detach Screen From Another SSH Session

>> How to Change the Default Home Directory of a User

>> What does /opt mean in Linux?

>> Tracking Down Where Disk Space Has Gone on Linux

>> Linux Kernel Versions: 32-Bit vs 64-Bit

>> Easy Ways to Determine Virtualization Technology

>> Why Do We Use su – and Not Just su?

>> Configuring and Managing Core Dumps in Linux

>> Combine and Execute Multiple Linux Commands

>> Starting a Shell in the Alpine Docker Container

>> Managing Environment Variables in Linux

>> Sudo Command in Linux

>> How to Use Multiple Databases with docker-compose

>> Locale Environment Variables in Linux

>> Display System Information in the CLI with Neofetch

>> Free Command in Linux

>> Guide to the Linux screen Command

>> How to Determine the Number of RAM Slots in Use

>> Linux man Command

>> Linux last Command

>> Shut Down and Reboot Linux Systems From the Terminal

  • ↑ Back to Top
The Baeldung logo

Categories

  • Administration
  • Files
  • Filesystems
  • Installation
  • Networking
  • Processes
  • Scripting
  • Search
  • Security
  • Web

Series

  • Linux Administration
  • Linux Files
  • Linux Processes

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo