Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-18 00:18:39 +00:00
parent bda9e5a061
commit 0df0c010e8
101 changed files with 941 additions and 154 deletions

View File

@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
- Start the server with a specific map:
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}}`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}}`
- Start the server with a specific session name, server password, and admin password:
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}}?SessionName={{session_name}}?ServerPassword={{server_password}}?ServerAdminPassword={{admin_password}}`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}}?SessionName={{session_name}}?ServerPassword={{server_password}}?ServerAdminPassword={{admin_password}}`
- Start the server with a specific port and set a maximum player count:
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}} -port={{7777}} -WinLiveMaxPlayers={{1..70}}`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}} -port={{7777}} -WinLiveMaxPlayers={{1..70}}`
- Enable PvE and disabling PvP:
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}}?ServerPVE=true`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}}?ServerPVE=true`
- Set a multiplier to scale the server difficulty, affecting the maximum level of wild creatures:
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}}?DifficultyOffset={{1.0}}`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}}?DifficultyOffset={{1.0}}`
- Disable creature animation optimization to prevent collision issues:
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}} -AlwaysTickDedicatedSkeletalMeshes`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}} -AlwaysTickDedicatedSkeletalMeshes`
- Enable specific mods by their ID (comma-separated):
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}} -mods={{mod_id1,mod_id2,...}}`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}} -mods={{mod_id1,mod_id2,...}}`
- Allow connections from specific platforms:
`{{path/to/ArkAscendedServer}} {{TheIsland_WP}} -ServerPlatform={{PC+XSX+PS5}}`
`{{path/to}}/ArkAscendedServer {{TheIsland_WP}} -ServerPlatform={{PC+XSX+PS5}}`

View File

@@ -10,32 +10,32 @@ source: https://github.com/tldr-pages/tldr.git
- Start the server with a specific map:
`{{path/to/ShooterGameServer}} {{TheIsland}}`
`{{path/to}}/ShooterGameServer {{TheIsland}}`
- Start the server with a specific session name, server password, and admin password:
`{{path/to/ShooterGameServer}} {{TheIsland}}?SessionName={{session_name}}?ServerPassword={{server_password}}?ServerAdminPassword={{admin_password}}`
`{{path/to}}/ShooterGameServer {{TheIsland}}?SessionName={{session_name}}?ServerPassword={{server_password}}?ServerAdminPassword={{admin_password}}`
- Start the server with a specific port and set a maximum player count:
`{{path/to/ShooterGameServer}} {{TheIsland}}?Port={{7777}}?MaxPlayers={{1..70}}`
`{{path/to}}/ShooterGameServer {{TheIsland}}?Port={{7777}}?MaxPlayers={{1..70}}`
- Enable PvE and disabling PvP:
`{{path/to/ShooterGameServer}} {{TheIsland}}?ServerPVE=true`
`{{path/to}}/ShooterGameServer {{TheIsland}}?ServerPVE=true`
- Set a multiplier to scale the server difficulty, affecting the maximum level of wild creatures:
`{{path/to/ShooterGameServer}} {{TheIsland}}?DifficultyOffset={{1.0}}`
`{{path/to}}/ShooterGameServer {{TheIsland}}?DifficultyOffset={{1.0}}`
- Enable a specific event:
`{{path/to/ShooterGameServer}} {{TheIsland}} -ActiveEvent={{Summer}}`
`{{path/to}}/ShooterGameServer {{TheIsland}} -ActiveEvent={{Summer}}`
- Enable automatic mod downloading, installation, and updating (Steam only):
`{{path/to/ShooterGameServer}} {{TheIsland}} -automanagedmods`
`{{path/to}}/ShooterGameServer {{TheIsland}} -automanagedmods`
- Enable crossplay between Steam and Epic Games Store:
`{{path/to/ShooterGameServer}} {{TheIsland}} -crossplay -PublicIPForEpic={{ip_address}}`
`{{path/to}}/ShooterGameServer {{TheIsland}} -crossplay -PublicIPForEpic={{ip_address}}`

View File

@@ -11,4 +11,4 @@ source: https://github.com/tldr-pages/tldr.git
- Start the server:
`{{path/to/DedicatedServer}}`
`{{path/to}}/DedicatedServer`

View File

@@ -10,15 +10,15 @@ source: https://github.com/tldr-pages/tldr.git
- Run a game with one map:
`{{path/to/cs2}} -dedicated +map {{de_dust2}}`
`{{path/to}}/cs2 -dedicated +map {{de_dust2}}`
- Run a game with specified maximum number of players:
`{{path/to/cs2}} -dedicated +map {{de_dust2}} -maxplayers {{64}}`
`{{path/to}}/cs2 -dedicated +map {{de_dust2}} -maxplayers {{64}}`
- Run a game with specified server IP and port:
`{{path/to/cs2}} -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}`
`{{path/to}}/cs2 -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}`
- Shut the server down:

View File

@@ -10,15 +10,15 @@ source: https://github.com/tldr-pages/tldr.git
- Create a new save file:
`{{path/to/factorio}} --create {{path/to/save_file.zip}}`
`{{path/to}}/factorio --create {{path/to/save_file.zip}}`
- Start a Factorio server:
`{{path/to/factorio}} --start-server {{path/to/save_file.zip}}`
`{{path/to}}/factorio --start-server {{path/to/save_file.zip}}`
- Create a new save file with specific settings:
`{{path/to/factorio}} --create {{path/to/save.zip}} --map-gen-settings {{path/to/map-gen-settings.json}} --map-settings {{path/to/map-settings.json}}`
`{{path/to}}/factorio --create {{path/to/save.zip}} --map-gen-settings {{path/to/map-gen-settings.json}} --map-settings {{path/to/map-settings.json}}`
- Shut the server gracefully:
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help:
`{{path/to/factorio}} {{[-h|--help]}}`
`{{path/to}}/factorio {{[-h|--help]}}`

View File

@@ -17,6 +17,10 @@ source: https://github.com/tldr-pages/tldr.git
`sudo fatrace {{[-C|--command]}} {{program_name}}`
- Print file access events on the mount of the current directory, with timestamps, to `stdout`:
- Print file access events on the mount of the current directory to `stdout`:
`sudo fatrace {{[-ct|--current-mount --timestamp]}}`
`sudo fatrace {{[-c|--current-mount]}}`
- Add timestamps to the printout:
`sudo fatrace {{[-t|--timestamp]}}`

View File

@@ -10,28 +10,28 @@ source: https://github.com/tldr-pages/tldr.git
- Start a server with the default settings:
`{{path/to/server_linux}}`
`{{path/to}}/server_linux`
- Give a server a custom name that shows in the server browser:
`{{path/to/server_linux}} -name '{{server_name}}'`
`{{path/to}}/server_linux -name '{{server_name}}'`
- Specify a connection port for the server:
`{{path/to/server_linux}} -port {{27015}}`
`{{path/to}}/server_linux -port {{27015}}`
- Specify maximum player count:
`{{path/to/server_linux}} -limit {{2..24}}`
`{{path/to}}/server_linux -limit {{2..24}}`
- Specify the initial map the server starts on:
`{{path/to/server_linux}} -map {{ns2_summit}}`
`{{path/to}}/server_linux -map {{ns2_summit}}`
- Limit access to the server with a password:
`{{path/to/server_linux}} -password {{password}}`
`{{path/to}}/server_linux -password {{password}}`
- Start a server with webui admin interface:
`{{path/to/server_linux}} -webadmin -webport {{8080}}`
`{{path/to}}/server_linux -webadmin -webport {{8080}}`

View File

@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
- Start the server with default settings:
`{{path/to/PalServer.sh}}`
`{{path/to}}/PalServer.sh`
- Start the server with a specific port and set a maximum player count:
`{{path/to/PalServer.sh}} -port={{8211}} -players={{1..32}}`
`{{path/to}}/PalServer.sh -port={{8211}} -players={{1..32}}`
- Start a public lobby server:
`{{path/to/PalServer.sh}} -publiclobby`
`{{path/to}}/PalServer.sh -publiclobby`
- Start the server with performance optimizations for multi-threaded CPUs:
`{{path/to/PalServer.sh}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS`
`{{path/to}}/PalServer.sh -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS`
- Start the server with a specific public IP and port for community servers:
`{{path/to/PalServer.sh}} -publicip={{ip_address}} -publicport={{port}}`
`{{path/to}}/PalServer.sh -publicip={{ip_address}} -publicport={{port}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# pkgctl release
> Release step to commit, tag and upload build artifacts.
> Release step to commit, tag, and upload build artifacts.
> More information: <https://manned.org/pkgctl-release>.
- Release a build artifact:

View File

@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
- Start the server:
`{{path/to/start-server.sh}}`
`{{path/to}}/start-server.sh`
- Start a server with a specific name:
`{{path/to/start-server.sh}} -servername {{server_name}}`
`{{path/to}}/start-server.sh -servername {{server_name}}`

View File

@@ -9,15 +9,15 @@ source: https://github.com/tldr-pages/tldr.git
> See also: `awk`, `ed`.
> More information: <https://www.gnu.org/software/sed/manual/sed.html>.
- Replace `apple` with `mango` on all lines using basic `regex`, print to `stdout`:
- Replace "apple" with "mango" on all lines using basic `regex`, print to `stdout`:
`{{command}} | sed 's/apple/mango/g'`
- Replace `apple` with `APPLE` on all lines using extended `regex`, print to `stdout`:
- Replace "apple" with "APPLE" on all lines using extended `regex`, print to `stdout`:
`{{command}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'`
- Use basic `regex` to replace `apple` with `mango` and `orange` with `lime` in-place in a file (overwriting original file):
- Use basic `regex` to replace "apple" with "mango" and "orange" with "lime" in-place in a file (overwriting original file):
`sed {{[-i|--in-place]}} -e 's/apple/mango/g' -e 's/orange/lime/g' {{path/to/file}}`

View File

@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
`systemd-analyze blame`
- Print a tree of the time-critical chain of units:
- Print a tree of the time-critical chain of bootup units:
`systemd-analyze critical-chain`
@@ -33,6 +33,6 @@ source: https://github.com/tldr-pages/tldr.git
`systemd-analyze security`
- View all udev rules together:
- View all udev rules together without showing comments:
`systemd-analyze cat-config udev/rules.d`
`systemd-analyze cat-config udev/rules.d --tldr`

View File

@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
- Start an interactive server setup:
`{{path/to/TerrariaServer}}`
`{{path/to}}/TerrariaServer`
- Start a Terraria server:
`{{path/to/TerrariaServer}} -world {{path/to/world.wld}}`
`{{path/to}}/TerrariaServer -world {{path/to/world.wld}}`

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start the server:
`{{path/to/start_server.sh}}`
`{{path/to}}/start_server.sh`
- Stop the server gracefully: