mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 20:54:57 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`choco install {{path o\packages_file.config}}`
|
||||
|
||||
- Install a specific `nuspec` or `nupkg` file:
|
||||
- Install a specific `.nuspec` or `.nupkg` file:
|
||||
|
||||
`choco install {{path oile}}`
|
||||
|
||||
|
||||
@@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# choco pack
|
||||
|
||||
> Package a NuGet specification into a `nupkg` file.
|
||||
> Package a NuGet specification into a `.nupkg` file.
|
||||
> More information: <https://docs.chocolatey.org/en-us/create/commands/pack/>.
|
||||
|
||||
- Package a NuGet specification to a `nupkg` file:
|
||||
- Package a NuGet specification to a `.nupkg` file:
|
||||
|
||||
`choco pack {{path o\specification_file}}`
|
||||
|
||||
|
||||
@@ -5,13 +5,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# choco push
|
||||
|
||||
> Push a compiled NuGet package (`nupkg`) to a package feed.
|
||||
> Push a compiled NuGet package (`.nupkg`) to a package feed.
|
||||
> More information: <https://docs.chocolatey.org/en-us/create/commands/push/>.
|
||||
|
||||
- Push a compiled `nupkg` to the specified feed:
|
||||
- Push a compiled `.nupkg` to the specified feed:
|
||||
|
||||
`choco push {{[-s|--source]}} {{https://push.chocolatey.org/}}`
|
||||
|
||||
- Push a compiled `nupkg` to the specified feed with a timeout in seconds (default is 2700):
|
||||
- Push a compiled `.nupkg` to the specified feed with a timeout in seconds (default is 2700):
|
||||
|
||||
`choco push {{[-s|--source]}} {{https://push.chocolatey.org/}} {{[--timeout|--execution-timeout]}} {{500}}`
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# diskpart
|
||||
|
||||
> Disk, volume and partition manager.
|
||||
> Disk, volume, and partition manager.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/diskpart>.
|
||||
|
||||
- Run diskpart by itself in an administrative command prompt to enter its command-line:
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# psping
|
||||
|
||||
> A ping tool that includes TCP ping, latency and bandwidth measurement.
|
||||
> A ping tool that includes TCP ping, latency, and bandwidth measurement.
|
||||
> More information: <https://learn.microsoft.com/sysinternals/downloads/psping>.
|
||||
|
||||
- Ping a host using ICMP:
|
||||
|
||||
@@ -29,7 +29,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`tldr reg {{export|import}}`
|
||||
|
||||
- View documentation for saving, restoring registry and unloading keys preserving the key ownerships and ACLs:
|
||||
- View documentation for saving, restoring registry and unloading keys preserving the key ownerships, and ACLs:
|
||||
|
||||
`tldr reg {{save|restore|load|unload}}`
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Import all available keys, subkeys, and values from a `.reg` file.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-import>.
|
||||
|
||||
- Import all keys, subkeys and values from a file:
|
||||
- Import all keys, subkeys, and values from a file:
|
||||
|
||||
`reg import {{path oile.reg}}`
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# shutdown
|
||||
|
||||
> A tool for shutting down, restarting or logging off a machine.
|
||||
> A tool for shutting down, restarting, or logging off a machine.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/shutdown>.
|
||||
|
||||
- Shutdown the current machine:
|
||||
|
||||
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`vswhere -products * -latest -prerelease -find **\VC\Auxiliary\Buildcvarsall.bat`
|
||||
|
||||
- Find the directory of the x64 MSVC compiler (cl.exe, etc):
|
||||
- Find the directory of the x64 MSVC compiler (`cl.exe`, etc):
|
||||
|
||||
`vswhere -products * -latest -prerelease -find **\Hostx64d\*`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# where
|
||||
|
||||
> Display the location of files that match the search pattern.
|
||||
> Defaults to current work directory and paths in the PATH environment variable.
|
||||
> Defaults to current work directory and paths in the `%PATH%` environment variable.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/where>.
|
||||
|
||||
- Display the location of file pattern:
|
||||
|
||||
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`wmic process list full`
|
||||
|
||||
- Access specific fields such as process name, process ID and parent process ID:
|
||||
- Access specific fields such as process name, process ID, and parent process ID:
|
||||
|
||||
`wmic process get {{name,processid,parentprocessid}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user