Learn how to use different network interfaces for different processes on Linux.
Here's what I've written (so far):
Baeldung on Linux
- All
- Scripting (6)
- Processes (4)
- Networking (4)
- Files (4)
- Administration (4)
- Filesystems (2)
- Installation (1)
- File Searching (1)
- File Editing (1)
Monitor Internet Bandwidth Usage on Linux
Filed under Administration, Networking
A quick and practical guide to monitoring internet bandwidth usage on Linux.
Why Looping Over find’s Output Is a Bad Practice
Filed under File Searching, Scripting
An overview of issues with iterating over the find command’s output.
IPC Performance Comparison: Anonymous Pipes, Named Pipes, Unix Sockets, and TCP Sockets
Filed under Processes
A practical comparison between various IPC methods.
Remove a CLOSE_WAIT Socket Connection
Filed under Networking
Learn what a CLOSE_WAIT state is and how to remove the socket connection.
Calculate the Total CPU Usage of a Process From /proc/pid/stat
Filed under Processes
A quick and practical guide to calculating the total CPU usage of a process.
Remove Redundant Paths From the $PATH Variable
Filed under Administration
Learn to remove redundant paths from the $PATH variable.
How to Receive Information From a Network Port and Print It
Filed under Networking
Learn how to receive information from a network port and print it.
Kill All Processes That Are Older Than a Certain Age
Filed under Processes
In this tutorial, we’ll learn how to kill the processes that are older than a certain time.
Understanding Bind Mounts
Filed under Administration
Learn about bind mounts in Linux.
Monitor a Directory Tree for Changes
Filed under Files
Learn how to use inotifywait to monitor a directory tree for changes in Linux.
Check if a Variable Exists in a List in Bash
Filed under Scripting
Learn to check if a variable exists in a list in Bash.
Filtering Only the Standard Error in Linux
Filed under Scripting
Learn to capture only the standard error of a command.
Replace String in a Large One Line, Text File in Linux
Filed under File Editing, Files
Learn to replace a string in a large one line, text file in Linux.
How to Load Environment Variables in a Cron Job
Filed under Administration
Learn to load environment variables in a Cron job.
Changing the Install Directory with make install
Filed under Installation
Have a look at how to change the destination path when installing a package using make install.
What Happens to Open File Handle if File Is Moved or Deleted
Filed under Files, Filesystems
Learn how the system behaves when we delete, move, or replace a file that has open file handles
Get Exit Code of a Background Process
Filed under Scripting
Let’s discuss how we can get the exit code of a process running in the background.
SIGINT And Other Termination Signals in Linux
Filed under Processes
In Linux systems, processes can receive a variety of termination signals, such as SIGINT or SIGKILL. Let’s explore them.
Iterate Over a List of Files With Spaces in Their Names in Linux
Let’s explore how we can iterate over a list of files with spaces in their names.
How to Calculate Optimal Blocksize to Use With dd
Filed under Filesystems
When using dd, setting the optimal block size can greatly improve performance. In this tutorial, we’ll see how we can obtain a device’s blocksize.
Storing a Command in a Variable in a Shell Script
Filed under Scripting
In this article, we’ll see how we can store a command into a variable and run it. We’ll also discuss what limitations these methods have and the problems we face.