mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 02:01:40 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/squid
Normal file
37
tldr/squid
Normal 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`
|
||||
Reference in New Issue
Block a user