Learn how to list all subdirectories in a directory using a breadth-first search.
Baeldung Author
Burak Gökmen
Here's what I've written (so far):
Baeldung on Linux
- All
- Scripting (12)
- Administration (7)
- Files (6)
- Processes (5)
- Networking (4)
- Security (2)
- File Permissions (2)
- Installation (1)
- File Viewing (1)
- File Searching (1)
- File Editing (1)
Resolving the “Clock skew detected” Warning When Using make
Filed under Files
Learn what causes the “Clock skew detected” warning when building an executable with make, and understand how to resolve it.
Checking Which Processes Are Using Semaphores
Filed under Administration, Processes
Learn about semaphores and understand how to find the active ones and the processes currently using them.
What Does mdev Mean in ping Statistics?
Filed under Administration, Networking
Learn about mdev in the ping statistics and understand the effects of a high standard deviation of round-trip times.
Extracting the Contents of an RPM Package Without Installation
Filed under Administration, Installation
Learn how to extract the contents of an RPM package without installing it.
Augmenting the Default Search Path for Python
Filed under Scripting
Learn how to augment the default module search path for finding Python modules.
How to Check PDF Metadata in the Linux Terminal
Filed under File Viewing
Learn how to check the metadata of a PDF document from the command line.
In What Order Do Piped Commands Run?
Learn about pipes and understand in which order piped processes run.
Fixing File Permissions in a Directory Recursively
Filed under File Permissions
Learn how to fix the file permissions in a directory recursively.
Listing Symbolic Link Chains
Filed under Files
Learn how to list a chain of symbolic links in Linux.
Automating ssh-copy-id
Filed under Security
Learn how to automate the usage of ssh-copy-id using the sshpass command.
How to Retry a Failed Command in Shell
Filed under Scripting
Learn several methods for retrying an unsuccessful command in the shell.
Send a Message to the Systemd Journal From the Command Line
Filed under Administration
Learn two different methods for sending messages to the systemd journal from the command line.
Running a Docker Image as a Container
Filed under Administration
Explore several methods for running a Docker image as a container.
Check Whether a MySQL Database Exists Using Shell
Filed under Administration, Scripting
Learn different methods for checking the existence of a MySQL database from the command line.
Passing Multiple Parameters to a systemd Service
Filed under Administration
Learn four different methods for passing multiple parameters to a service managed by systemd.
How to Create a Random Human-Readable Text File in Linux
Filed under File Editing, Files, Scripting
Learn four methods for generating a human-readable text file with random content in Linux.
iptables – Multiple Source IPs in a Single Rule
Filed under Networking
Learn how to specify multiple source IP addresses in a single rule in iptables.
Explanation of the Archive Mode in rsync
Filed under Files
Learn about the archive mode of the rsync command and its -a option.
Creating UUIDs in Bash
Filed under Scripting
Learn multiple techniques for generating random-based, time-based and hash-based UUIDs in Bash.
REJECT vs. DROP When Using iptables
Filed under Networking, Security
Understand the the differences between the DROP and REJECT rules when using iptables in Linux.
Differences Between Single and Double Brackets in Bash
Filed under Scripting
Learn the differences between single and double brackets in Bash and understand when and how to use them.
Setting the Processor Affinity of a Process
Filed under Processes
Learn two different methods to bind a process to a specific set of processors in Linux.
Waiting for a File in a Shell Script
Learn two different methods to detect the creation of a file in a shell script.
The arping Command
Filed under Networking
Learn about the arping command in Linux, understand its various options and how to use them with several examples.
Copying Symbolic Links With rsync
Filed under Files
Learn multiple ways for copying symlinks using the rsync command in Linux.
Running a Script That’s Not Executable
Filed under File Permissions, Scripting
Learn two different ways to execute a shell script that isn’t executable in Linux.
Differences Between the return and exit Commands
Filed under Scripting
Learn the differences between the return and the exit commands in Linux using several examples.
Getting the PID of a nohup Process
Filed under Processes
Learn how to get the PID of a background process started with nohup.
Redirecting the Output of the time Command
Filed under Scripting
As the time command does not output to stdout, redirecting its output to a file is a little more complex than other commands. We look at a few ways to capture the output if this command in scripts.
Hiding User Input in a Bash Terminal
Filed under Scripting
Different ways to hide user input in Linux scripts.
The Exit Status of Piped Processes
Filed under Processes
Learn several ways of getting the exit status of commands that are piped to another.