Learn to convert AVI videos to the MKV or MP4 formats using various GUI and command line Linux tools.
Baeldung Editor
Korbin Brown
Korbin is a Linux System Administrator that loves to tinker in his terminal and report his findings to the rest of the Internet. He's published hundreds of articles over the last decade, and believes that documenting and sharing knowledge is a paramount aspect of spreading the GNU/Linux gospel.
Here's what I've reviewed (so far):
Baeldung on Linux
- All
- Administration (91)
- Networking (29)
- Scripting (28)
- Security (19)
- Filesystems (16)
- Files (16)
- Processes (15)
- Installation (10)
- Building (8)
- File Viewing (7)
- File Editing (7)
- Docker (5)
- File Searching (4)
- File Conversion (4)
- File Compression (3)
- File Permissions (1)
What Is Wayland in Ubuntu?
Filed under Administration
Learn about the Wayland display server on Ubuntu, how to enable or disable it, and what advantages it brings over X11.
What Is WSL
Filed under Processes
Learn about WSL, how to install it, and how to get started with using it.
Guide to Linux passwd Command With Examples
Filed under Administration
Learn about the passwd command and how to use it to manage users’ password on Linux.
Logging and Debugging QEMU Virtual Machines
Filed under Administration
Learn various ways to log events and debug QEMU virtual machines on Linux.
How to Get Console Geometry in a Bash Script
Filed under Scripting
Learn how to get console geometry (the number of rows and columns) using various methods in Bash.
Troubleshooting Realtek Ethernet Persistent Connection Issue
Filed under Networking
Learn about troubleshooting techniques for connectivity issues involving Realtek Ethernet controllers.
Comparing Zram, Zswap, and Zcache: Choosing the Right One
Filed under Administration
Learn about the differences between zram, zswap, and zcache, and how to select the right one.
Guide to Linux chage Command With Examples
Filed under Administration
Learn how to use the chage command and its various options to manage user account settings on Linux.
How to Mitigate the Terrapin SSH Attack
Filed under Security
Learn about the security recommendations necessary for mitigating a terrapin SSH attack on Linux.
How to Properly Disable Avahi-Daemon
Filed under Processes
Learn how to disable the Avahi-daemon process using systemd or SysVinit on Linux.
Compare ZIP Files in Shell
Filed under File Compression
Learn various ways to compare the contents of ZIP files on the Linux shell.
Programs That Can Open Sketch Files in Linux
Filed under Files, Installation
Learn how to install and use various programs to open sketch files on Linux.
Guide to Linux lspci Command With Examples
Filed under Administration
Learn to use the lspci command and its various options on Linux.
Resolving dpkg Error [2] in Linux
Filed under Administration, Installation
Learn about the various causes of the dpkg error [2] and how to resolve it.
How to Extract Embedded Images From a PDF File in Linux
Filed under Files
Learn how to use command line and GUI tools to extract embedded images from PDF files.
Guide to Linux ip Command With Examples
Filed under Administration, Networking
Learn how to use the ip Linux command through practical examples and explanations.
Guide to Linux rename Command With Examples
Filed under Files
Learn how to use the rename Linux command through practical examples and explanations.
root User Getting “Access Denied” Error Using systemctl
Filed under Administration, Security
Learn the troubleshooting steps for resolving the ‘access denied’ error that root receives when using systemctl on Linux.
Guide to Linux cp Command With Examples
Filed under Files
Learn how to use the cp Linux command through practical examples and explanations.
How to Run a Command Before a User Logs In
Filed under Administration
Learn about various methods that can be used to run a command before a user logs into a Linux system.
Security Risks of Unquoted Variables in Bash and POSIX
Learn about the security risks of using unquoted variables in shell scripts and how to mitigate them.
How to Resolve vsftpd Unable to Read Config File
Filed under Administration, Networking
Learn how to resolve the ‘unable to read config file’ in vsftpd by going through various troubleshooting steps.
Guide to Linux mv Command With Examples
Learn how to use the mv Linux command through practical examples.
Using Two Ethernet Cards to Increase Network Throughput
Filed under Administration, Networking
Learn how to configure dual Ethernet cards to increase network throughput on Linux.
Copy Virtual Environment Without Reinstalling Packages
Filed under Administration
Learn various methods to copy a virtual environment without reinstalling its software packages.
Selecting the Mailer Type in a Postfix Installation
Filed under Installation
Learn how to configure the mailer type in Postfix, and what each option entails.
Circuit Drawing Tools in Linux
Filed under Installation
Learn about various circuit drawing applications and how to install them on Linux.
Set Default Profile for PulseAudio
Filed under Administration
Learn how to set a default PulseAudio profile on a Linux system.
Emulating Typing Effect When Displaying Text in the Terminal
Filed under Administration
Learn how to emulate a typing effect in the Linux terminal when displaying textual output.
Conflicting values set for option Signed-By regarding source
Filed under Administration, Security
Learn to resolve the “Conflicting values set for option Signed-By regarding source” error in Linux.
How to Check the Partitioning Scheme of a Storage Disk
Filed under Administration, Filesystems
Learn how to check the partitioning scheme of a storage disk using various commands in Linux.
Difference Between $ and # Prompts in Linux
Filed under Administration
Learn what the $ and # terminal prompts mean in a Linux environment, and how they’re different.
How to Use User Input as a While Loop Condition in Shell
Filed under Scripting
Learn how to treat user input as a stopping condition of a Bash while loop.
The –switched-root and –deserialize Features of systemd
Filed under Administration, Processes
Learn what the –switched-root and –deserialize features are and how systemd uses them in Linux.
grep – How to Output Only the Content of a Capturing Group
Filed under File Viewing, Scripting
Learn about methods involving grep and regex to output the text of a capturing group.
Disabling Bluetooth at Linux Startup
Filed under Administration
Learn how to disable the Bluetooth service from automatically starting upon system boot in Linux.
How to List All the PostgreSQL Users Using the CLI
Filed under Administration
Learn how to list all users in PostgreSQL from different shells in the Linux command line.
Practical Effects of Setting “UsePAM yes” on SSH in Linux
Filed under Security
Learn how using PAM authentication affects SSH sessions and security on Linux.
eval vs. bash -c
Filed under Scripting
Learn about the differences between the bash -c and eval commands on Linux.
Installing Firefox Developer Edition on Linux
Filed under Administration, Installation
Learn how to install Firefox Developer Edition on Linux.
How to Delete a Certain Column of a File
Filed under File Editing
Learn how to delete a particular column of a file using Linux commands.
How to Check for Empty Directory in Shell
Filed under File Searching, Scripting
Learn how to check if a directory is empty by using the command line in Linux.
How to Get the IP Address of a Network Printer in Linux
Filed under Networking
Learn how to obtain the IP address of a network printer using CLI and GUI in Linux.
How to Print the Last Element of Each Row in a File
Filed under Scripting
Learn how to print the last element of each row in a file by using AWK in Linux.
Regenerate 70-persistent-net.rules in Linux Without Reboot
Filed under Networking
Learn how to regenerate the 70-persistent-net.rules file without rebooting in Linux.
Fixing Bad Geometry in ext4 Filesystems
Filed under Filesystems
Learn the causes of bad geometry on the ext4 filesystem and how to fix the error.
How to Convert a Full-Color Image to Black-and-White
Filed under File Editing
Learn how to convert a full-color image to black-and-white via Linux command line and GUI.
How to Extract Bluetooth Mac Address in Linux
Filed under Administration
Learn how to find the MAC address of a Bluetooth device on Linux.
How to Switch to an LTS Kernel in Linux
Filed under Administration
Learn how to install a long-term support kernel on Linux.
“active” vs. “clean” in mdadm: Key RAID States
Filed under Administration, Filesystems
Learn about the differences between “active” and “clean” RAID states in mdadm.
Switch Between PHP Versions on Linux CLI
Filed under Administration
Learn how to switch between installed versions of PHP using the Linux command line.
How to Force File System Check at Every Boot
Filed under Administration, Filesystems
Learn how to force Linux to perform a file system check at every boot.
FIN_WAIT_2 State: Kernel’s Role in TCP Closure
Filed under Networking
Learn about the FIN_WAIT_2 state and how the Linux kernel’s configuration can affect the closure of network connections.
How to Convert PDF to ODT in Linux
Filed under File Conversion
Learn how to convert PDF documents to ODT files using commands and online services.
Disabling Guest Sessions in Linux
Filed under Administration, Security
Learn how to disable guest sessions in LightDM for Linux.
Execute Commands Requiring Root Access on Kubernetes Pods
Filed under Administration
Learn how to execute commands on Kubernetes pods as the root user.
Find Out the Wi-Fi Password of Currently Connected Network
Filed under Networking
Learn how to find the Wi-Fi password of the currently connected network with command line and GUI on Linux.
What’s the Difference Between Sync and Async Mount Options?
Filed under Filesystems
Learn about the differences between the sync and async mount options, and when to prefer one over the other.
Enabling User Namespaces in the Linux Kernel
Filed under Administration, Security
Learn how to temporarily or permanently enable user namespaces in the kernel on Linux.
How to Create a Pseudo File for Temporary Data
Filed under Files, Filesystems
Learn how to create a pseudo file for storing temporary data on Linux.
Displaying Colored Output in Bash Inside a Docker Container
Filed under Docker
Learn how to display colored output for success, failure, and the Bash prompt inside a Docker container on Linux.
How to Check Whether a User’s Password Is Already Set
Filed under Administration, Security
Learn how to check if a Linux user’s password has already been set.
File Access: Memory-Mapped vs. I/O System Call Performance
Filed under Filesystems
Learn about the performance differences between memory-mapped and system call file access methods on Linux.
USB Sniffing in Linux
Filed under Administration
Learn how to intercept traffic from a USB device and interpret the data on Linux.
How to Check Whether a Process Is a Daemon
Filed under Processes
Learn how to determine if a Linux process is a daemon by checking its various characteristics.
Mount NFS Shares Inside Docker Container
Filed under Docker, Filesystems
Learn various ways of mounting NFS shares inside of a Docker container on Linux.
How to Change MAC Address in Linux
Filed under Networking
Learn how to change the MAC address for a network interface on Linux.
Putting BTRFS on LVM in Linux
Filed under Filesystems
Explore the pros and cons of formatting LVM-managed volumes with BTRFS. Learn how to do so.
How to Set an Unlimited Bash History
Filed under Administration
Learn how to set an unlimited history for Bash terminal commands in Linux.
Linux Capabilities: Setting and Modifying Permissions
Filed under Security
Learn how to set and modify the capability permissions for Linux files and containers.
How to Install a System-Wide SSL Certificate on openSUSE
Filed under Security
Learn how to install an SSL certificate for system-wide usage on openSUSE Linux.
Creation of a Configure Script in Linux
Filed under Building, Installation
Learn how to create a configure script as part of the process for compiling source files on Linux.
tracert Equivalent in Linux
Filed under Networking
Learn how to use the traceroute command, the Linux equivalent to the Windows tracert command.
How to Watch Webcam Feeds on Linux
Filed under Administration
Learn how to view the webcam feed on Linux through methods like FFmpeg and VLC media player.
Where Are the WiFi Passwords Stored in Linux?
Filed under Administration, Networking
Learn to find and manage the WiFi network passwords stored on a Linux system.
Checking Whether AES-NI Is Supported by the CPU in Linux
Filed under Administration
Learn how to check if a CPU supports AES-NI encryption on Linux.
How to Use SOCKS Proxy for Commands
Filed under Networking
Learn how to route command traffic through a SOCKS proxy via SSH or tsocks on Linux.
Differences Between eval and exec Commands
Filed under Scripting
Learn about the differences between using the exec and eval commands on Linux.
Access Host SSH Tunnel From a Docker Container
Filed under Docker, Networking
Learn how to access the host’s SSH tunnel from within a Docker container on Linux.
Meaning of “No more variables left in this MIB view” on Linux
Filed under Networking
Learn about the “No more variables left in this MIB view” message and how it relates to SNMP.
How to Capture Stdout Line by Line in Bash
Filed under Scripting
Learn how to capture standard output one line at a time in Bash.
gcc Default include Directories in Linux
Filed under Building
Learn how gcc determines its default include directories and how to find them.
Linux Equivalent to C:\Program Files in Windows
Filed under Filesystems, Installation
Learn how Linux treats installation paths when comparing to Windows’ C:\Program Files directory.
How to Use OverlayFS?
Filed under Filesystems
Learn how to install OverlayFS on Linux and use it to protect files by configuring overlaying filesystems.
How to Check Which Service Manager a Linux Machine Is Using
Filed under Administration
Learn how to check which service manager a Linux machine is using, such as systemd, SysVinit, etc.
Kernel Parameters acpi_osi=linux and acpi_backlight=vendor
Filed under Administration
Learn about the differences between the acpi_osi=linux and acpi_backlight=vendor kernel parameters, and how to apply them.
Analyzing Cache Misses Using the perf Tool in Linux
Filed under Administration
Learn how to analyze cache misses using the perf tool in Linux.
How to Mirror Dual Monitors With Different Resolutions
Filed under Administration
Learn how to configure mirrored displays on monitors with different resolutions via command line.
Reading a Single Character in Shell Script
Filed under Scripting
Learn how to read and process single character input from a Bash script in Linux.
Checking for NUMA Capabilities
Filed under Administration
Learn how to determine whether a Linux system has NUMA capabilities.
How to Return From Root Login to User Login in Shell
Filed under Administration
Learn how to switch to a regular user account while using the root user on Linux.
Finding Out Which Linux Capabilities a Process Needs to Work
Filed under Processes
Learn how to check which capabilities are required by a process in order to function on a Linux system.
How to Find Heap Memory of a Running Process
Filed under Processes
Learn how to find the heap memory usage of a running process on Linux.
Modify systemd Config Without Touching Upstream Unit File
Filed under Administration
Learn various ways to modify a systemd config without editing its corresponding upstream unit file.
Understanding the Linux Power Button, Input Events, and Inhibitors
Filed under Administration
Learn how to change the behavior of the power button on a Linux system and control what it does.
How to Restrict a FTP User to a Directory in Linux
Filed under Security
Learn how to restrict an FTP user to one directory when they log into a Linux system.
Meaning of “watchdog did not stop!” Message at Shutdown in Linux
Filed under Administration
Learn about the “watchdog did not stop!” message on Linux, what it means, and how to disable it.
How to Rename a Network Interface in Linux
Filed under Networking
Learn how to rename a network interface connection from the Linux command line.
How to Check Internet Speed from the Linux Command Line
Filed under Networking
Learn how to check the download and upload speed for the internet connection via Linux command line.
Understanding the /etc/aliases File
Filed under Administration
Learn about the /etc/aliases file on Linux, what it’s used for, and how to make edits to it.
Checking Active SSH Keys on Linux
Filed under Administration
Learn how to check which SSH keys on a Linux system are being actively used.
How Does Linux Know Where rootfs Is?
Filed under Administration, Filesystems
Learn how a Linux OS knows where the root filesystem is during the boot process.
Alternatives to the sed Command in Linux
Filed under Scripting
Learn about different Linux commands and Bash functions that can be used as alternatives to sed.
What Are the /dev/pts Files Used for?
Filed under Files
Learn how /dev/pts files are used on a Linux system and how the kernel interacts with them.
Set Environment Variables From File of Key/Value Pairs in Linux
Filed under Scripting
Learn how to set environment variables that are stored in a file as key/value pairs on Linux..
Understanding Timekeeping and Clocks in Linux
Filed under Administration
Learn about timekeeping and clocks on Linux and the differences between their various types.
How to Convert PDF to Image in Linux
Filed under File Conversion
Learn to use several tools for converting PDF files to images via the Linux command line.
What Is the Difference Between i686 and x86_64 Packages
Filed under Administration
Learn about the differences between i686 and x86_64 packages, and the scenarios where each can be used on Linux.
Controlling Fan Speed in Linux
Filed under Administration
Learn how to control a system’s fan speed via the Linux command line.
Running ASP.Net on a Linux-Based Server
Filed under Administration
Learn how to host an ASP.Net web server on a Linux operating system.
How to Print the Line Numbers of Files That Are Searched Through
Filed under File Searching
Learn how to print line numbers in the command line terminal when searching through text files.
Logging Bash Scripts
Filed under Scripting
Learn various ways to implement logging into Bash scripts on Linux.
Benefits of Building the Linux Kernel
Filed under Building
Learn about the benefits of building the Linux kernel from scratch versus using a distributed and pre-compiled version.
Converting XLS to CSV in Linux
Filed under File Conversion
Learn how to convert XLS/XLSX files to CSV format in Linux via command line and GUI.
Need for the irqbalance Command in Linux on Modern Hardware
Filed under Administration
Learn about the situations where the irqbalance command is useful on modern Linux hardware.
Difference Between Arch and Gentoo Linux Distributions
Filed under Administration
Learn about the similarities and differences between the Arch and Gentoo Linux distributions.
Difference Between OUTPUT and FORWARD Chains in iptables
Filed under Networking, Security
Learn about the similarities and differences in how the OUTPUT and FORWARD chains work in iptables.
How to Create Bootable Flash for the EFI Shell
Filed under Filesystems
Learn how to use Linux to create a bootable USB flash drive for accessing the EFI shell.
Difference Between Makefile.am and Makefile.in
Filed under Building
Learn about the differences between makefile.am and makefile.in files and see how they’re used to compile programs.
DNF Package Manager: dnf history rollback vs. undo
Filed under Administration
Learn about the differences between history rollback and undo with the DNF package manager on Linux.
The Difference Between systemd Scope and systemd Slice
Filed under Administration
Learn about systemd Scope vs. Slice, and how both unit types are used to manage system services in Linux.
What Are Display Managers and How Do They Work?
Filed under Administration
Learn what display managers are used for on Linux, how they work, and how to install them.
Passing an Array as an Argument to a Function in a Bash Script
Filed under Scripting
Learn how to pass an array to a Bash function.
Restarting a Service Automatically if Its Dependent Is Restarted
Filed under Administration
Learn different systemd methods that ensure a service restarts automatically whenever one of its dependents is restarted.
How to Set Packet Rate Limit Through iptables
Filed under Networking, Security
Learn how to use iptables in Linux to limit the packet rate and combat DoS and other attacks.
Kernel Counterparts of Pipes, FIFOs and Unix Domain Sockets
Filed under Building
Learn about various counterparts of the Linux kernel, including pipes, FIFOs and unix somain sockets.
Differences and Use Cases for Chrony and systemd-timesyncd
Filed under Administration
Learn about the differences between time-keeping systems Chrony and systemd-timesyncd, and their various use cases on Linux.
Why Is It Not Recommended to Put the Boot Partition on LVM
Filed under Filesystems
Learn about boot partition recommendations for Linux and why LVM isn’t a suitable host for it.
How to Run curl Command From Within a Kubernetes Pod
Filed under Administration
Learn various methods to run the Linux curl command within a Kubernetes pod.
Shortening the Current Directory Path in the Terminal on Linux
Filed under Administration
Learn how to shorten the directory path that appears in a Linux terminal.
Make ls Print the Output in a Single Line
Filed under Files
Learn how to use various Bash commands to print the output of ls on a single line.
How Many Partitions Are Supported in Linux?
Filed under Filesystems
Learn about the limitations of hard drive partitions in Linux, including the maximum number of supported partitions.
What’s the Difference Between Kernel Drivers and Kernel Modules?
Filed under Building
Learn the difference between kernel modules and kernel drivers and how both are essential to a Linux system.
Handling Signals in Bash Script
Filed under Scripting
Learn how to use traps in Bash scripting to handle various types of signals.
Managing the GRUB Menu in Fedora Distributions
Filed under Administration
Learn how to modify the GRUB boot menu in Fedora and RHEL-based Linux distributions.
How to Auto-Detect Encoding of a Text File in Linux
Filed under Files
Learn how to detect the type of encoding for a text file using Bash and Python in Linux.
Implementation of Message Queues in the Linux Kernel
Filed under Building
Learn how message queues are implemented and used in the Linux kernel.
kubectl attach vs. kubectl exec
Filed under Administration
Learn how the kubectl attach and kubectl exec commands differ from each other in managing a Kubernetes cluster.
How to Move Every File That Is Not a Directory
Filed under Files
Learn how to move every file that is not a directory when working with the Linux command line and GUI.
Usage of Compgen Command in Bash
Filed under Scripting
Learn how the compgen command is used for auto-completition in Linux.
Capabilities of Privileged Containers in Linux
Learn about the differences between normal and privileged containers in Linux.
The Logging Mechanism in Linux
Filed under Administration
Learn how system events are stored in Linux and how to access log files.
Accessing the BIOS Information in Linux
Filed under Administration
Learn how to access BIOS information in Linux.
Print a Range of Numbers from the Linux Command Line
Filed under Scripting
Learn how to print a range of numbers using various Linux commands.
What Is glibc?
Filed under Building
Learn about the GNU C Library (glibc) and why this component is important for programming and using Linux software.
Installing Docker in an Alpine Container
Filed under Docker
Learn how to install Docker inside of an Alpine container using command line and Dockerfile on Linux.
How to Check Whether Arp Is Enabled
Filed under Administration, Networking
Learn various methods to check if ARP is enabled on a Linux system.
How to Efficiently Remove Files From a Large .tgz File
Filed under File Compression
Learn how to efficiently remove files from a large gzip tar archive using various Linux tools.
Memory Usage per User in Linux
Filed under Processes
Learn how to sort memory usage statistics by user on Linux.
Passing Ctrl+C Over a SSH Connection
Filed under Networking
Learn how an SSH session handles the Ctrl+C process interrupt signal under various circumstances in Linux.
Comparing a Remote File With the Local One Without Copying
Filed under Files
Learn how to compare the contents of a remote file with a local file, without transferring the file.
Waiting for the Network Being Up in a Bash Script
Filed under Networking, Scripting
Learn how to write a Bash script that checks if the network is up on a Linux system.
Find Binary Files in a Directory
Filed under File Searching
Learn how to use Linux commands to search for files that contain binary content.
Check if a Bash Array Contains a Value
Filed under Scripting
Learn multiple methods to check whether a Bash array contains a value on Linux.
Checking Which Services Need Restart After the System Update
Filed under Administration
Learn how to check which services need to be restarted after a system update in Linux.
Creating Network Interfaces and Checking Interface Types
Filed under Networking
Learn how to create different types of network interfaces in Linux, and check what type any interface is.
Fix for ‘Username Is Not in the Sudoers File. This Incident Will Be Reported’
Filed under Administration
Learn how to fix the ‘Username is not in the sudoers file. This incident will be reported.’ error message on a Linux system.
How to Monitor All Login Attempts in Linux
Filed under Administration
Learn how to view all failed login attempts on a Linux system.
Finding Frames per Second of a Video File
Filed under Files
Learn how to find the frames per second of a video file with ffmpeg and mediainfo on Linux.
CMake for Cross-Platform Compilation
Filed under Scripting
Learn how to use CMake to compile C/C++ programs for cross-platform compatibility.
Enable Auto Completion for Remote Paths When Using scp
Filed under Administration
Learn how to enable Bash auto-completion when querying for remote file paths while using scp.
How to Convert a Date Format to Another Format
Filed under Scripting
Learn how to convert between various date formats via the Linux command line.
Creating a Blank PDF Document From the Command Line
Filed under Files
Learn how to create a blank PDF document from the command line in Linux.
Disabling Desktop Screen Lock in GNOME
Filed under Administration
Learn how to disable the desktop screen lock for the GNOME desktop environment via the command line and GUI.
Check Whether a Network Interface Is Physical or Virtual
Filed under Networking
Learn how to determine if a network interface is physical or virtual in Linux.
How to Get the Best Quality With FFmpeg During Conversion
Filed under File Editing
Learn how to convert videos and retain the best quality possible when using ffmpeg on Linux.
Restrict a User to One Directory
Filed under Administration
Learn how to restrict a new or existing user to a single directory in Linux.
Changing Date Format in Syslog
Filed under Administration
Learn how to change the date format in syslog with high-precision or low-precision timestamps.
Using Awk With a Compressed File
Filed under File Compression, File Viewing
Learn how to use the awk command to read data from compressed files in Linux.
Differences Between rm and unlink Commands
Filed under Files
Learn how the rm and unlink commands differ on Linux.
Locking the Desktop Screen From the Command Line
Filed under Security
Learn how to lock your desktop screen via the command line.
Guide to Tasksel
Filed under Administration
Learn how to use the tasksel command on Debian distributions to install packages.
Transposing a File From the Command Line
Filed under File Viewing
Learn how to transpose the rows and columns of a file from the command line on Linux.
Install Debian Package From an Unsigned Repository
Filed under Installation
Learn how to install a Debian software package from an unsigned package repository.
Listing All Loadable Kernel Modules
Filed under Administration
Learn how to list all the loadable kernel modules available for a Linux system.
Executing an SQL Script From the Command Line
Filed under Processes
Learn how to execute an SQL script from the command line on Linux.
How to Prepend a Timestamp to the Output of a Command in Linux
Filed under Scripting
Learn how to prepend a timestamp to the output of an executed command in Linux.
Adding a Self-Signed Certificate to the Trusted List
Filed under Security
Learn various methods for trusting a self-signed certificate on Linux.
Closing a Specific Port From the Linux Command Line
Filed under Networking, Processes
Learn how to close a specific port for a running service via the Linux command line.
Finding Installed Fonts From the Command Line
Filed under Administration
Learn how to use the command line on Linux to find all installed fonts.
Offline Installation of an RPM Package and Its Dependencies
Filed under Installation
Learn how to install an RPM package offline, along with its dependencies, on Linux.
How to List All Enabled Services From Systemctl
Filed under Processes
Learn how to list all enabled and active services using systemctl in Linux.
Mouse Events and Input Event Interface in Linux
Filed under Scripting
Learn how to read mouse input and events on Linux and use Bash scripting to simulate mouse movement.
The “at” Command in Linux
Filed under Administration
Learn how to use the at command to schedule jobs and scripts in Linux.
Real-Time Process Scheduling in Linux
Filed under Processes
Learn how to manage real-time processing policies in Linux.
Limiting the Output of grep
Filed under File Viewing
Learn how to limit the output of the grep command in Linux to isolate the text you’re looking for.
Checking vi Version Installed on a Linux Machine
Filed under Administration
Learn how to check the installed version of the vi editor on Linux.
Managing Processors Availability
Filed under Processes
Learn how to manage processor availability by assigning processes to different CPUs on Linux.
Finding my.cnf From the Command Line
Filed under Files
Learn how to find the my.cnf MySQL configuration file from the Linux command line.
Good Place to Install Custom Bash Scripts in Linux
Filed under Administration
Learn the recommended ways to install custom Bash scripts for system-wide use on Linux.
Creating User’s Services With systemd
Filed under Processes
Learn how to run services as a different user with systemd on Linux.
Verify a File Using an ASC Signature File
Filed under Security
Learn how to verify a file’s authenticity using an ASC signature file in Linux.
Dropping Page Cache in Linux
Filed under Administration
Learn how to manage and monitor the page cache in Linux.
Shell Auto Completion in Linux
Filed under Scripting
Learn how to edit and add new functions to Bash auto completion in Linux.
Displaying Tabs as Characters in Vim
Filed under File Editing, File Viewing
Learn how to display tabs as character in Vim editor on Linux.
Checking Whether the Display Server Is Xorg or Wayland
Filed under Administration
Learn several methods to determine if a display server is using Xorg or Wayland in Linux.
Get the Parent PID of a Child Process in Linux
Filed under Processes
Learn how to find the parent process ID of a child process in Linux.
Add Indentation and Guides to Vim’s Edit View
Filed under File Editing
Learn how to add indentation and guides to Vim’s edit view on Linux.
Check Time-To-Live (TTL) For a DNS Record
Filed under Networking
Learn how to check the TTL for DNS records using dig and nslookup on Linux.
Checking PTR Records Using the Command Line
Filed under Networking
Learn how to check PTR records using various Linux commands.
Navigating in a File in Vim
Filed under File Searching, File Viewing
Learn how to navigate a file in Vim using motions, marks, jumps, and changes.
Decoding Encoded URLs in Linux
Filed under Scripting
Learn how to decode an encoded URL using Bash, Perl, and Python commands in Linux.
Editing MP3 Tags on Linux
Filed under File Editing
Learn how to tag MP3 music using command line tools id3v2, eyeD3, and id3tool on Linux.
List All Superusers in Linux
Filed under Administration
Learn how to list all superusers on Linux.
Linux Error “No passwd entry for user”
Filed under Administration
Learn how to solve the “no passwd entry for user” error on Linux.
Converting .pem Key Into .ppk Key
Filed under Security
Learn how to convert a .pem key into a .ppk key on Linux.
Select All Contents in a File Inside Vim
Filed under File Editing
Learn how to select contents of a file with vim editor on Linux.
Determine Whether a Shell Variable Is Empty
Filed under Scripting
Learn different methods to determine if a shell variable is empty in Linux.
Resolving MAC Address From IP Address in Linux
Filed under Networking
Learn the difference between an IP and MAC address, and how to resolve the MAC address from a host’s IP.
Using Different Network Interfaces for Different Processes
Filed under Networking
Learn how to use different network interfaces for different processes on Linux.
Linux error ‘sudo: no tty present and no askpass program specified’
Filed under Administration
Learn how to fix the Linux error ‘sudo: no tty present and no askpass program specified’
How to Extend Logical and Extended Partitions With fdisk
Filed under Filesystems
Learn to extend logical and extended partitions with fdisk on Linux.
Check if a Process Is Running in Linux
Filed under Processes
Learn various commands to check if a process is running in Linux.
Unlocking a Linux User Account After Too Many Failed Attempts
Filed under Administration, Security
Learn how to unlock a Linux account after too many failed login attempts.
How to Check if a Shared Library Is Installed
Filed under Administration
Learn how shared libraries work on Linux and to check if they are installed.
Add a User to Multiple Linux Groups
Filed under Administration
Learn how to add a user to multiple groups with various methods on Linux.
Check if Command Executed Successfully in Linux
Filed under Scripting
See multiple methods to check whether a command executed successfully or not in Linux.
Working With Vim Windows
Filed under File Viewing
Learn how to optimize your Vim workflow by manipulating windows on Linux.
Allowed Characters in Linux Environment Variable Names
Filed under Administration
This guide explains which characters are allowed and recommended in an environment variable on Linux.
List Installed Packages in Linux
Filed under Administration, Installation
Learn how to list installed packages on Debian and Red Hat based Linux systems.
How Do Permissions Apply to Symbolic Links?
Filed under File Permissions
Learn how permissions apply to symbolic links in Linux, and how to modify symbolic link ownership and permissions.
What Is /dev/sda in Linux?
Filed under Administration, Files
Learn about the /dev/sda file in Linux, and how it relates to a hard drive partition.
Find Primary IP Address of a Linux Machine
Filed under Networking
Learn how to find the IP address of your primary network interface on Linux.
Syncing Time With Network on Linux
Filed under Administration
This article shows how to configure an NTP server and client on Linux.
Baeldung on Computer Science
- All
- Security (3)
- Web (1)
What Is Certificate Pinning?
Filed under Security
Learn about certificate pinning and how it’s used to verify the authenticity of a server.
Cryptography: Rail Fence Cipher Technique
Filed under Security
Learn about the rail fence technique used for cryptography, and its shortcomings in today’s security landscape.
What Is Ethical Hacking?
Filed under Security
Learn about the phases of ethical hacking and the motivations of white, gray, and black hat hackers.
Redirection Status Codes: 301, 302, 307, and 308
Filed under Web
Learn about web server redirection status codes and how they differ from each other.
Baeldung on Ops
- All
- Kubernetes (7)
- Jenkins (2)
- Git (1)
- Docker (1)
- DevOps (1)
- Deployment Tools (1)
How to Validate Helm Chart Content
Filed under Kubernetes
Learn how to use various methods to validate Helm charts for Kubernetes.
Kubernetes: Dealing With Expired Certificates
Filed under Kubernetes
Learn how to check for expiring or expired certificates in Kubernetes, and how to renew them.
Fix Missing node_modules in Docker Compose After npm install
Filed under Docker
Learn how to fix missing node_modules in Docker Compose after running npm install.
Demystifying Endpoints in Kubernetes
Filed under Kubernetes
Learn about the purpose of endpoints in Kubernetes and how to configure them.
How to Add Images to README.md on Github
Filed under Git
Learn how to add uploaded or external images to the Readme.md file on GitHub.
Reset to Terraform Default tfstate
Filed under DevOps
Learn about different ways to reset to the default tfstate in Terraform.
Troubleshooting Empty ADDRESS in Kubernetes Ingress
Filed under Kubernetes
Learn the troubleshooting steps for an empty ADDRESS field in the ingress controller on Kubernetes.
Difference Between Task, Role, Play, and Playbook in Ansible
Filed under Deployment Tools
Learn about the differences between a task, role, play, and playbook in Ansible, and how each one is used.
How to Set, List, and Remove Taints on Kubernetes Nodes
Filed under Kubernetes
Learn how to manage taints for Kubernetes nodes, including how to set, list, and remove them.
Getting a JSON Object as a Parameter in a Jenkins Pipeline
Filed under Jenkins
Learn about various methods used to obtain a JSON object as a parameter in a Jenkins pipeline.
How to Check if a Pipeline Parameter Is Empty in Jenkins
Filed under Jenkins
Learn about various methods used to check if a Jenkins pipeline parameter is empty or not.
Helm Flow Control
Filed under Kubernetes
Learn how to control the flow of Helm charts through examples.
Best Practices for Using Helm Charts
Filed under Kubernetes
Learn about best practices, tips, and tricks for using Helm with Kubernetes.
Baeldung on SQL
- All
- SQL Queries (1)
- SQL Operators (1)
- Databases (1)
How to Execute an IF…THEN Logic in an SQL SELECT Statement
Filed under SQL Queries
Learn how to use the IF…THEN logic in an SQL query.
Understanding the Distinction Between EXISTS and IN in SQL
Filed under Databases, SQL Operators
Learn about the differences between the EXISTS and IN operators in SQL queries.