Learn how to filter logs by one or more given date ranges via Bash.
Here's what I've written (so far):
Baeldung on Linux
- Scripting (27)
- Administration (7)
- Files (4)
- File Editing (4)
- File Viewing (2)
- Search (1)
- Processes (1)
- Networking (1)
- File Searching (1)
- File Permissions (1)
Learn how to use the hash table equivalent available in recent versions of Bash.
Learn how to get variable declarations from a file and export them to the shell environment.
Learn how to check whether a given number is prime with Bash and the coreutils package.
Learn how to assign a default value to a variable based on its current value in Bash.
Learn how to extract a given number of a characters from the end of a string via shell tools in Linux.
Learn ways to verify the find command actually returns results.
Learn several ways to call and run Python code via the Linux shell.
Learn several ways to compare times in the shell.
Learn ways to check and verify the length of a shell variable.
Learn how to use the shell for verifying whether an IP version 4 or version 6 address is valid.
Learn how to import SQL dumps separately and simultaneously into a MySQL database.
Learn ways to run queries and insert data into a database from the shell.
Learn ways to filter the output of ls by file type and find out how to extract only filenames.
Learn how to remove given characters from a Bash variable using different tools.
Learn how to comment and uncomment specific lines of a file using the command line interface.
Learn ways to dynamically modify command-line arguments within an existing environment or script.
Learn how to reverse a signed or unsigned integer or floating-point number in the shell.
Learn many ways to apply a regular expression to a string and return the matches.
Learn different methods to extract file line fields relative to the last one.
Learn how to find the exact time at which a Linux system is expected to shut down.
Learn multiple ways to convert a Bash brace expansion value to a comma-separated list.
Learn how to perform several substitutions within the same file at once in a single sed command.
Learn how to match uppercase and lowercase strings, as well as ignore the case when using regular expressions in the shell.
Learn how to change characters in a specific line of a file based on patterns.
Learn many ways to change file permissions without using /usr/bin/chmod.
Learn several ways to remove the start or end of a line based on delimiters.
Learn about easily running complex sudo commands through interactive and non-interactive SSH sessions.
Learn about ternary expressions using the Bash conditional operator.
Learn ways to get the location and definition of a given Bash function.
Learn ways to run commands in the background with a delay.
Learn how to match more than one condition with a single Bash case statement.
Learn how to find the n most frequent words in a file in Linux using a combination of command-line tools such as tr, sort, uniq, and head.
Learn how to transpose the rows and columns of a file from the command line on Linux.
Learn how to extract a pattern and the n characters preceding and following it in Bash.
Learn how to find unique text between two files in Linux using a variety of methods, including command line tools like comm, diff, grep, and awk.
Learn about ways to know the PID of a process that just started.
Learn ways to reverse the order of words within a Bash string.