Update cheatsheets

This commit is contained in:
ivuorinen
2024-05-22 00:13:44 +00:00
parent 32f272ee5f
commit ae53e48342
3 changed files with 86 additions and 4 deletions

41
tldr/linux/tor Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# tor
> Enable anonymous communication through the Tor network.
> More information: <https://manned.org/man/tor>.
- Connect to the Tor network:
`tor`
- Start a Tor relay:
`tor --relay`
- View Tor configuration:
`tor --config`
- Check Tor status:
`tor --status`
- Run as client only:
`tor --client`
- Run as relay:
`tor --relay`
- Run as bridge:
`tor --bridge`
- Run as a hidden service:
`tor --hidden-service`

37
tldr/linux/torify Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# torify
> Route network traffic through the Tor network.
> More information: <https://manned.org/man/torify>.
- Route traffic via Tor:
`torify {{command}}`
- Toggle Tor in shell:
`torify {{on|off}}`
- Spawn a Tor-enabled shell:
`torify --shell`
- Check for a Tor-enabled shell:
`torify show`
- Specify Tor configuration file:
`torify -c {{config-file}} {{command}}`
- Use a specific Tor SOCKS proxy:
`torify -P {{proxy}} {{command}}`
- Redirect output to a file:
`torify {{command}} > {{path/to/output}}`