How to redirect standard error output and store it in a variable.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Baeldung on Linux
- All
- Administration (143)
- Scripting (130)
- Files (89)
- Processes (70)
- File Editing (37)
- Filesystems (36)
- Networking (35)
- User Administration (26)
- Security (23)
- Web (22)
- Text Processing (18)
- File Viewing (18)
- Network Configuration (16)
- Package Management (14)
- File Searching (14)
- Docker (14)
- Service Management (13)
- Installation (12)
- Series (11)
- Network Monitoring (11)
- Search (8)
- File Conversion (8)
- File Compression (8)
- Building (7)
- File Permissions (6)
- Boot Process (5)
- File Transfer (4)
Why Was 1 January 1970 Used as the Epoch Time?
Filed under Processes
1st January 1970 is known as the epoch time in Unix. It’s where all system clocks hit zero. We look at why this is the case and some alternatives that were considered.
Prevent Jenkins Build From Failing When Execute Shell Step Fails
Filed under Building
Explore several methods to prevent Jenkins build failures.
Restarting a MySQL Server in Linux
Filed under Service Management
Explore different ways to restart a MySQL server on Linux.
Iterating in Reverse Using for Loops and Other Constructs
Filed under Scripting
Learn how to iterate in reverse via for loops and other constructs.
Managing Processors Availability
Filed under Processes
Learn how to manage processor availability by assigning processes to different CPUs on Linux.
Creating User’s Services With systemd
Filed under Service Management
Learn how to run services as a different user with systemd on Linux.
Print Decimal as ASCII Using the Shell
Filed under Scripting, Text Processing
Learn how to print decimal numbers as ASCII in the Linux shell.
Set up a Port Forward Using UFW
Filed under Network Configuration, Security
Learn how to use UFW to do port forwarding.