linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux [2026/09/07 13:50] – [Disable SystemD Resolv from port 53] reddy | linux [2026/10/25 21:18] (current) – Added sysctl commands reddy | ||
|---|---|---|---|
| Line 163: | Line 163: | ||
| Then, restart the systemd-resolved service. | Then, restart the systemd-resolved service. | ||
| + | |||
| + | ==== Send SystemD Resolv requests to another DNS server ==== | ||
| + | |||
| + | In / | ||
| + | < | ||
| + | [Resolve] | ||
| + | DNS=1.2.3.4 | ||
| + | Domains=~mytest | ||
| + | </ | ||
| + | |||
| + | ==== Scan for bad sectors ==== | ||
| + | |||
| + | < | ||
| + | badblocks -v /dev/sda1 > bs.txt | ||
| + | fsck -l bs.txt / | ||
| + | |||
| + | smartctl -H / | ||
| + | smartctl -A / | ||
| + | </ | ||
| + | |||
| + | ==== Grub Boot ==== | ||
| + | |||
| + | < | ||
| + | sudo grub-install --recheck /dev/sda | ||
| + | sudo update-grub | ||
| + | </ | ||
| + | |||
| + | ==== Sysctl ==== | ||
| + | |||
| + | < | ||
| + | sysctl -a # List all parameters | ||
| + | sysctl < | ||
| + | sysctl -w < | ||
| + | sysctl -p < | ||
| + | </ | ||
linux.1788781856.txt.gz · Last modified: by reddy
