mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Send feedback to the Azure CLI Team.
|
||||
> Part of `azure-cli` (also known as `az`).
|
||||
> More information: <https://learn.microsoft.com/cli/azure/reference-index#az_feedback>.
|
||||
> More information: <https://learn.microsoft.com/cli/azure/reference-index#az-feedback>.
|
||||
|
||||
- Send feedback to the Azure CLI Team:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Log in to Azure.
|
||||
> Part of `azure-cli` (also known as `az`).
|
||||
> More information: <https://learn.microsoft.com/cli/azure/reference-index#az_login>.
|
||||
> More information: <https://learn.microsoft.com/cli/azure/reference-index#az-login>.
|
||||
|
||||
- Log in interactively:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Log out from an Azure subscription.
|
||||
> Part of `azure-cli` (also known as `az`).
|
||||
> More information: <https://learn.microsoft.com/cli/azure/reference-index#az_logout>.
|
||||
> More information: <https://learn.microsoft.com/cli/azure/reference-index#az-logout>.
|
||||
|
||||
- Log out from the active account:
|
||||
|
||||
|
||||
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Sort images by size:
|
||||
|
||||
`docker images --format "{{.ID}} {{.Size}} {{.Repository}}:{{.Tag}}" | sort -k 2 -h`
|
||||
`docker images --format "\{\{.ID\}\} \{\{.Size\}\} \{\{.Repository\}\}:\{\{.Tag\}\}" | sort -k 2 -h`
|
||||
|
||||
30
tldr/linux/init
Normal file
30
tldr/linux/init
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# init
|
||||
|
||||
> Linux run level manager.
|
||||
> Requires the SYSVINIT compile-time option to be enabled if using systemd.
|
||||
> More information: <https://manned.org/man/init.8>.
|
||||
|
||||
- Set the system to run a graphical environment:
|
||||
|
||||
`sudo init 5`
|
||||
|
||||
- Set the system to run multiuser terminal:
|
||||
|
||||
`sudo init 3`
|
||||
|
||||
- Shut down the system:
|
||||
|
||||
`init 0`
|
||||
|
||||
- Reboot the system:
|
||||
|
||||
`init 6`
|
||||
|
||||
- Set the system to run on terminal with only root user allowed and no networking:
|
||||
|
||||
`sudo init 1`
|
||||
29
tldr/linux/tuned-adm
Normal file
29
tldr/linux/tuned-adm
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tuned-adm
|
||||
|
||||
> Manage and optimize system performance tuning profiles on Linux.
|
||||
> More information: <https://tuned-project.org>.
|
||||
|
||||
- List available profiles:
|
||||
|
||||
`tuned-adm list`
|
||||
|
||||
- Show the currently active profile:
|
||||
|
||||
`tuned-adm active`
|
||||
|
||||
- Set a specific tuning profile:
|
||||
|
||||
`tuned-adm profile {{profile_name}}`
|
||||
|
||||
- Recommend a suitable profile based on the current system:
|
||||
|
||||
`tuned-adm recommend`
|
||||
|
||||
- Disable tuning:
|
||||
|
||||
`tuned-adm off`
|
||||
@@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Merge page subranges from two PDFs:
|
||||
|
||||
`pdfjoin {/path/to/file1.pdf}} {{2-}} {{file2}} {{last-3}} --outfile {{output_file}}`
|
||||
`pdfjoin {{/path/to/file1.pdf}} {{2-}} {{file2}} {{last-3}} --outfile {{output_file}}`
|
||||
|
||||
Reference in New Issue
Block a user