mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 13:49:32 +00:00
Update cheatsheets
This commit is contained in:
@@ -8,11 +8,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Utility for managing Non-Volatile DIMMs.
|
||||
> More information: <https://manned.org/ndctl>.
|
||||
|
||||
- Create an 'fsdax' mode namespace:
|
||||
- Create an `fsdax` mode namespace:
|
||||
|
||||
`ndctl create-namespace --mode={{fsdax}}`
|
||||
|
||||
- Change the mode of a namespace to 'raw':
|
||||
- Change the mode of a namespace to `raw`:
|
||||
|
||||
`ndctl create-namespace --reconfigure={{namespaceX.Y}} --mode={{raw}}`
|
||||
|
||||
@@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`ndctl list -vvv --namespace={{namespaceX.Y}}`
|
||||
|
||||
- Run a monitor to watch for SMART health events for NVDIMMs on the 'ACPI.NFIT' bus:
|
||||
- Run a monitor to watch for SMART health events for NVDIMMs on the `ACPI.NFIT` bus:
|
||||
|
||||
`ndctl monitor --bus={{ACPI.NFIT}}`
|
||||
|
||||
|
||||
29
tldr/linux/palworld
Normal file
29
tldr/linux/palworld
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Palworld
|
||||
|
||||
> Create and start a headless Palworld server.
|
||||
> More information: <https://docs.palworldgame.com/settings-and-operation/arguments>.
|
||||
|
||||
- Start the server with default settings:
|
||||
|
||||
`{{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}}`
|
||||
|
||||
- Start a public lobby server:
|
||||
|
||||
`{{path/to/PalServer.sh}} -publiclobby`
|
||||
|
||||
- Start the server with performance optimizations for multi-threaded CPUs:
|
||||
|
||||
`{{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}}`
|
||||
@@ -6,6 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# paru
|
||||
|
||||
> An AUR helper and pacman wrapper.
|
||||
> See also: `pacman`, `yay`.
|
||||
> More information: <https://github.com/Morganamilo/paru>.
|
||||
|
||||
- Interactively search for and install a package:
|
||||
@@ -20,6 +21,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`paru -Sua`
|
||||
|
||||
- Remove an installed package, it's configuration files, and dependencies:
|
||||
|
||||
`paru -Rns {{package}}`
|
||||
|
||||
- Get information about a package:
|
||||
|
||||
`paru -Si {{package}}`
|
||||
|
||||
@@ -21,9 +21,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`rdesktop -u {{username}} -p {{password}} -f {{host:port}}`
|
||||
|
||||
- Use the customed resolution (use the letter 'x' between the number):
|
||||
- Use a custom resolution (use the letter `x` between the numbers):
|
||||
|
||||
`rdesktop -u {{username}} -p {{password}} -g 1366x768 {{host:port}}`
|
||||
`rdesktop -u {{username}} -p {{password}} -g {{1366}}x{{768}} {{host:port}}`
|
||||
|
||||
- Connect to a remote computer using domain user:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Note: This page refers to the command from the `util-linux` package.
|
||||
> More information: <https://manned.org/rename>.
|
||||
|
||||
- Rename files using simple substitutions (substitute 'foo' with 'bar' wherever found):
|
||||
- Rename files using simple substitutions (substitute `foo` with `bar` wherever found):
|
||||
|
||||
`rename {{foo}} {{bar}} {{*}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# virt-viewer
|
||||
|
||||
> Minimal graphical interface for a virtual machine (VM).
|
||||
> Note: 'domain' refers to the name, UUID or ID for the existing VMs.
|
||||
> Note: `domain` refers to the name, UUID or ID for the existing VMs.
|
||||
> See also: `virsh`.
|
||||
> More information: <https://manned.org/virt-viewer>.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# virt-xml
|
||||
|
||||
> Edit libvirt Domain XML files with explicit command-line options.
|
||||
> Note: 'domain' refers to the name, UUID or ID for the existing VMs.
|
||||
> Note: `domain` refers to the name, UUID or ID for the existing VMs.
|
||||
> See also: `virsh`.
|
||||
> More information: <https://github.com/virt-manager/virt-manager/blob/main/man/virt-xml.rst>.
|
||||
|
||||
|
||||
@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`yaourt -Ss {{query}}`
|
||||
|
||||
- List installed packages, versions, and repositories (AUR packages will be listed under the repository name 'local'):
|
||||
- List installed packages, versions, and repositories (AUR packages will be listed under the repository name `local`):
|
||||
|
||||
`yaourt -Q`
|
||||
|
||||
Reference in New Issue
Block a user