This will be the goto to help solve e-mail delivery issues and talk about many practical issues that happen between developers, admins and scripts that send e-mail and do things that may not be acceptable or cause deliverability problems.
Sendmail Stuff
Edit /etc/mail/sendmail.mc
The problem is that if you send directly out from the server using the mail function, the Return-path of the e-mails will be username@thehostnameoftheserver.com. Let........
The easiest way for the 8821AU Realtek Wifi chipset / TP-Link T2U Plus:
Bus 002 Device 003: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
First install your kernel headers/source/other required tools:
sudo apt install linux-headers-`uname -r` make gcc bc
Clone this github repo with the driver:
git clone https://github.com/morrownr/8821au-20210708
Run the compile/ins........
This can save a lot of time, otherwise grep will go through an entire directory recursively searching every type of file but what if you are sure you only need to search txt or php files?
grep -r -i --include=*.php "what you are searching for" /the/path/to/search........
This example is based on Wordpress but applies to any other query string eg.
http://wordpress.com/?p=55
If you want to manually redirect that p=55 to /some/other/url how do you do it?
RewriteCond %{QUERY_STRING} p=55 [NC]
RewriteRule .* /new-url/? [R=301,L]
You can change the p=55 to whatever your query string looks like.
Remember to keep the "?" at the end of the new URLunless you really want the query s........