diff --git a/pages/linux/counter-strike-2.md b/pages/linux/counter-strike-2.md new file mode 100644 index 0000000000..c611bc10d9 --- /dev/null +++ b/pages/linux/counter-strike-2.md @@ -0,0 +1,20 @@ +# counter strike 2 + +> Host a headless Counter Strike 2 server. +> More information: . + +- Run a game with one map: + +`{{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}}` + +- Run a game with specified server IP and port: + +`{{path/to/cs2}} -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}` + +- Shut the server down: + +`quit` diff --git a/pages/linux/cs2.md b/pages/linux/cs2.md new file mode 100644 index 0000000000..1aa3d5b05f --- /dev/null +++ b/pages/linux/cs2.md @@ -0,0 +1,7 @@ +# cs2 + +> This command is an alias of `counter strike 2`. + +- View documentation for the original command: + +`tldr counter strike 2`