mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 15:51:29 +08:00
*: adjust non-PATH command syntax (#20054)
This commit is contained in:
@@ -6,28 +6,28 @@
|
||||
|
||||
- Exhaust all of the available DHCP addresses using the specified interface:
|
||||
|
||||
`sudo ./pig.py {{eth0}}`
|
||||
`sudo {{path/to}}/pig.py {{eth0}}`
|
||||
|
||||
- Exhaust IPv6 addresses using eth1 interface:
|
||||
|
||||
`sudo ./pig.py {{[-6|--ipv6]}} {{eth1}}`
|
||||
`sudo {{path/to}}/pig.py {{[-6|--ipv6]}} {{eth1}}`
|
||||
|
||||
- Send fuzzed/malformed data packets using the interface:
|
||||
|
||||
`sudo ./pig.py {{[-f|--fuzz]}} {{eth1}}`
|
||||
`sudo {{path/to}}/pig.py {{[-f|--fuzz]}} {{eth1}}`
|
||||
|
||||
- Enable color output:
|
||||
|
||||
`sudo ./pig.py {{[-c|--color]}} {{eth1}}`
|
||||
`sudo {{path/to}}/pig.py {{[-c|--color]}} {{eth1}}`
|
||||
|
||||
- Enable minimal verbosity and color output:
|
||||
|
||||
`sudo ./pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 1 {{eth1}}`
|
||||
`sudo {{path/to}}/pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 1 {{eth1}}`
|
||||
|
||||
- Use a debug verbosity of 100 and scan network of neighboring devices using ARP packets:
|
||||
|
||||
`sudo ./pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 100 {{[-n|--neighbors-scan-arp]}} {{eth1}}`
|
||||
`sudo {{path/to}}/pig.py {{[-c|--color]}} {{[-v|--verbosity]}} 100 {{[-n|--neighbors-scan-arp]}} {{eth1}}`
|
||||
|
||||
- Enable printing lease information, attempt to scan and release all neighbor IP addresses:
|
||||
|
||||
`sudo ./pig.py {{[-n|--neighbors-scan-arp]}} {{[-r|--neighbors-attack-release]}} {{[-o|--show-options]}} {{eth1}}`
|
||||
`sudo {{path/to}}/pig.py {{[-n|--neighbors-scan-arp]}} {{[-r|--neighbors-attack-release]}} {{[-o|--show-options]}} {{eth1}}`
|
||||
|
||||
@@ -5,32 +5,32 @@
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -5,32 +5,32 @@
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
|
||||
- Start the server:
|
||||
|
||||
`{{path/to/DedicatedServer}}`
|
||||
`{{path/to}}/DedicatedServer`
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
|
||||
- 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:
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
- Display help:
|
||||
|
||||
`{{path/to/factorio}} {{[-h|--help]}}`
|
||||
`{{path/to}}/factorio {{[-h|--help]}}`
|
||||
|
||||
@@ -5,28 +5,28 @@
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -5,20 +5,20 @@
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
- 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}}`
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
- Start the server:
|
||||
|
||||
`{{path/to/start_server.sh}}`
|
||||
`{{path/to}}/start_server.sh`
|
||||
|
||||
- Stop the server gracefully:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user