The Parts of an RPM Query
System & Network Admin
Inspecting and extracting RPM package contents | Packagecloud Blog
Learn how to inspect and extract RPM package contents with working codes and examples in this article.
How can I convert my Bash script output to JSON and save it as “.json” file?
Here is my script:
Get System info
#!/bin/bash
readarray -t array <<< "$(df -h)"
var=$(echo "${array[1]}"| grep -aob '%' | grep -oE '[0-9]+')
echo "${array[3]:$...
Bash Array – How to Declare an Array of Strings in a Bash Script
Bash scripts give you a convenient way to automate command line tasks. With Bash, you can do many of the same things you would do in other scripting or programming languages. You can create and use variables, execute loops, use conditional logic, and store data in arrays. While
If Statements - Bash Scripting Tutorial
Bash if statements. Learn if statements, else, elif and case statements with sample scripts, detailed descriptions and challenges.
How to get the first element of an array in Bash
In this tutorial, we are going to learn about how to get the first element of an array in Bash. Consider, we have the following array. Now…
Bash declare command
Bash doesn't have a strong type system. To allow type-like behavior, it uses attributes that can be set by a command. ‘declare’ is a bash built-in command that allows you to update attributes applied to variables within the scope of your shell. In addition, it can be used to declare a variable in longhand. Lastly, it allows you to peek into variables.
How to Split String into Array in Bash [Easiest Way]
In this quick tip, you'll learn to split a string into an array in Bash script.
Creating a Bash script template
In the first article in this series, you created a very small, one-line Bash script
ShellCheck – shell script analysis tool
ShellCheck finds bugs in your shell scripts
Custom Dynamic DNS with UniFi Dream Machine Pro
Journey on how UniFi Dream Machine Pro’s Dynamic DNS is setup and how to have it point to a custom Dynamic DNS provider.
Let's Encrypt DNS Challenge | Lincoln Loop
Let's Encrypt is a new certificate authority. It is a huge improvement over the manual complex process of acquiring and …
Challenge Types
When you get a certificate from Let’s Encrypt, our servers validate that you control the domain names in that certificate using “challenges,” as defined by the ACME standard. Most of the time, this validation is handled automatically by your ACME client, but if you need to make some more complex configuration decisions, it’s useful to know more about them. If you’re unsure, go with your client’s defaults or with HTTP-01.
Automating Let's Encrypt Certificate Renewal using DNS Challenge Type
In the following examples, I'll show how to renew certs with domains hosted on AWS/Route53 and GoDaddy. I run certbot with scripts within a docker container (to simplify automation), however you can use CLI.
Let's Encrypt Server Certificate via DNS Challenge
How to obtain a Let's Encrypt certificate through a DNS Challenge.
auto update signatures dnssec
Trouble setting up rfc2136 - Help - Let's Encrypt Community Support
My domain is: https://arenlor.com/ I ran this command: certbot certonly --rsa-key-size 4096 --staple-ocsp --server 'https://acme-v02.api.letsencrypt.org/directory' --dns-rfc2136 --dns-rfc2136-credentials /etc/letsencrypt/rfc2136.ini -d arenlor.com -d '*.arenlor.com' It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator dns-rfc2136, Installer None Obtaining a new certificate Performing the following challenges: dns-01 challenge for ar...
dnssec-keygen unknown algorithm HMAC-MD5 | Netgate Forum
Doing secure dynamic DNS updates with BIND - Hacker's ramblings
How to Use Sar (System Activity Reporter) | Linux Journal
How to Add User to Sudoers in Debian
The sudoers file contains a set of rules that determines which users or groups are granted with sudo privileges as well as the level of the privileges.
Linux mkfifo Command Tutorial for Beginners (with Examples)
If youre even a moderate Linux command line user, you must be aware of pipes, a fundamental command line feature that allows processes to communicate...
Hardening SSH
Benchmarks & Tips for Big Data, Hadoop, AWS, Google Cloud, PostgreSQL, Spark, Python & More...
How to scan for viruses with ClamAV on Ubuntu 22.04
There arent many viruses made for Linux distributions and as such, most people who use such systems dont even bother using antivirus software. Those...
How to Use the rsync Command | Linux Journal
A sysadmin's guide to network interface configuration files
Simplify the complex world of interface configuration files with this handy tutorial.
How to Create a BBS in Linux with EnigmaBBS - Make Tech Easier
EnigmaBBS is a simple yet powerful modern BBS software for Linux. Learn how to install it today and relive the BBS experience of the 90s.
How I use the Linux sed command to automate file edits
Here are some tips and tricks to automating file edits from the Linux command line.
Fix bugs in Bash scripts by printing a stack trace
No one wants to write bad code, but inevitably bugs will be created.
Rate Limiting with Nginx
Rate Limiting With nginx. This article explains how to use the nginx HttpLimitReqModule to limit the number of requests for a given session. This is u...