Let's Encrypt Cheatsheet
This guide helps you set up and manage Let’s Encrypt SSL certificates using Certbot.
1. Install Certbot
Ensure Certbot is installed. If not, install it with
sudo apt update
sudo apt install certbot
This guide helps you set up and manage Let’s Encrypt SSL certificates using Certbot.
Ensure Certbot is installed. If not, install it with
sudo apt update
sudo apt install certbot
Keyword | Usage |
---|---|
SELECT |
Retrieves data from a table. |
FROM |
Specifies the table to query. |
WHERE |
Filters records based on conditions. |
GROUP BY |
Groups rows that have the same values. |
HAVING |
Filters grouped data. |
ORDER BY |
Sorts the results in ascending (ASC ) or descending (DESC ) order. |
LIMIT |
Restricts the number of rows returned. |
OFFSET |
Skips a specific number of rows. |
DISTINCT |
Returns unique records. |
SELECT column1, column2 FROM table_name;
SELECT * FROM customers;
SELECT * FROM sales WHERE region = 'North America';
SELECT * FROM employees WHERE salary > 50000;
user www-data;
worker_processes auto;
pid /run/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
}
Master text processing in Linux using essential commands like grep
, sed
, awk
, cut
, tr
, and more.
Find lines containing “error”
grep "error" logs.txt