Explore these expressions, compare them, discuss how they behave differently under various conditions, and provide practical Linux examples to show their differences
Also find me here:
Baeldung Author
Maurice Maina
I'm a Software Engineer specializing in both web and mobile application development. I have extensive experience in technologies such as React JS, React Native, Next.Js, Vue.Js, and MERN Stack. I also design and create mockups ensuring a seamless and user-friendly experience in all my projects. In my free time, I enjoy playing the guitar, traveling, and swimming.
Here's what I've written (so far):
Baeldung on Linux
- >All
- Files (4)
- Administration (3)
- Text Processing (2)
- User Administration (1)
- Scripting (1)
- Package Management (1)
- File Searching (1)
How to Continuously Monitor a Directory Using dnotify or inotify Commands
Filed under Administration, Files
Learn how to continuously monitor directories with dnotify and inotify by exploring practical examples and automated scripts in Linux.
Renaming Files With Regular Expressions and rename in Linux
Filed under Files
Learn how to apply regular expressions with rename to change the names of multiple files based on a pattern.
How to Remove All Special Characters in Linux Text
Filed under Text Processing
Learn how to remove special characters from a text or stream in Linux.
How to Match Words and Ignore Multiple Spaces Using grep and tr
Filed under Text Processing
Learn how to match words without considering multiple spaces between them in Linux.
Get a List of Installed Packages Matching a Pattern Using apt
Filed under Package Management
In this tutorial, we explored methods for listing installed packages on a Linux system using the apt package manager. We also showed how to leverage regular expressions with grep to match complex patterns and used awk for advanced text processing to extract specific information from the output.
Where Are GNOME Favorites Stored?
Filed under Administration
Learn how to locate the path of any favorites saved in the Linux GNOME desktop environment.
Guide to Linux dmidecode Command With Examples
Filed under Administration
Learn how the dmidecode command works and understand some practical usage examples.
Guide to Linux useradd Command With Examples
Filed under User Administration
Learn how to use the useradd command in Linux (with examples).
Baeldung on Ops
- >All
- Docker (7)
Troubleshooting the no configuration file provided: not found Error in Docker Compose
Filed under Docker
Learn how to avoid common configuration file location errors when using Docker Compose commands.
Caching the RUN npm install Instruction in Dockerfile
Filed under Docker
Learn how Docker caching works depending on the instruction order when containerizing and building a Node.js application via a Dockerfile.
Addressing Server Connection Issues in Docker Deployment of Minimal Flask App
Filed under Docker
Learn how to handle and troubleshoot connection problems when communicating with Flask applications deployed via Docker.
How to Check the Health of a Redis Server in a Docker Image
Filed under Docker
Learn about Redis within Docker and ways to ensure it works as expected via a health check.
Why Isn’t docker build Showing Output From Commands?
Filed under Docker
Learn ways to ensure that docker build displays the output from any Dockerfile commands.
Convert a docker run Command Into a Docker Compose File
Filed under Docker
Learn how to switch from a docker run command to a Docker Compose file and the benefits of using Docker Compose instead of docker run.
Finding the Location of docker-compose.yml From a Running Container
Filed under Docker
Learn about ways to locate the docker-compose.yml configuration file for a running container.
Baeldung on SQL
- >All
- SQL Queries (3)
- SQL Functions (2)
- SQL Operators (1)
How to UPSERT (MERGE, INSERT … ON DUPLICATE UPDATE) in PostgreSQL?
Filed under SQL Functions, SQL Queries
Learn ways to upsert (UPDATE or INSERT) with a singular atomic operation using the PostgreSQL DBMS.
How to Limit the Number of Rows Returned by SQL Query After Ordering?
Filed under SQL Queries
Learn how to apply the SQL LIMIT clause and combine it with other SQL mechanisms to get a limited subset of rows after sorting.
Selecting a Single Row Based on Multiple Criteria From One Column in SQL
Filed under SQL Operators, SQL Queries
Learn how to construct SQL queries for selecting single rows based on several criteria over the same column.
Remove the Last Two Characters From a String Column in SQL
Filed under SQL Functions
Learn about ways to use SQL for removing the last two characters of string within a column.