Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-11 00:24:43 +00:00
parent 5ad1f5ce60
commit 66b30baed4
12 changed files with 252 additions and 19 deletions

37
tldr/squid Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# squid
> Cache and forward HTTP requests through a proxy server.
> More information: <https://manned.org/squid>.
- Start Squid in the background:
`sudo squid`
- Start Squid in the foreground:
`sudo squid -N`
- Start Squid with a specific configuration file:
`sudo squid -f {{path/to/squid.conf}}`
- Test the configuration file for errors:
`sudo squid -k parse`
- Reload the configuration file:
`sudo squid -k reconfigure`
- Shut down Squid gracefully:
`sudo squid -k shutdown`
- Rotate the log files:
`sudo squid -k rotate`