mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 09:41:50 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/cisco-ios/question-mark
Normal file
21
tldr/cisco-ios/question-mark
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, cisco-ios]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ?
|
||||
|
||||
> Get context sensitive.
|
||||
> More information: <https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/fundamentals/configuration/15mt/fundamentals-15-mt-book/cf-cli-basics.html#GUID-223128D2-FB6D-418D-86C6-06D1D0DA51B3>.
|
||||
|
||||
- Get available commands:
|
||||
|
||||
`?`
|
||||
|
||||
- Get storages that are listable:
|
||||
|
||||
`dir ?`
|
||||
|
||||
- Show what IP information is viewable:
|
||||
|
||||
`ip show ?`
|
||||
@@ -12,3 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Restrict line protocols to `ssh`:
|
||||
|
||||
`transport input ssh`
|
||||
|
||||
- Restrict line protocols to `telnet`:
|
||||
|
||||
`transport input telnet`
|
||||
|
||||
25
tldr/conda-doctor
Normal file
25
tldr/conda-doctor
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# conda doctor
|
||||
|
||||
> Display a health report for your environment.
|
||||
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/doctor.html>.
|
||||
|
||||
- View report for the currently active environment:
|
||||
|
||||
`conda doctor`
|
||||
|
||||
- Specify an environment by name:
|
||||
|
||||
`conda doctor {{[-n|--name]}} {{environment_name}}`
|
||||
|
||||
- Specify an environment by its path:
|
||||
|
||||
`conda doctor {{[-p|--prefix]}} {{path/to/environment}}`
|
||||
|
||||
- Enable verbose output (Note: the `-v` flag can be repeated to increase verbosity):
|
||||
|
||||
`conda doctor {{[-v|--verbose]}}`
|
||||
@@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Change the size of a logical volume to 120 GB:
|
||||
|
||||
`lvresize --size {{120G}} {{volume_group}}/{{logical_volume}}`
|
||||
`lvresize {{[-L|--size]}} 120G {{volume_group}}/{{logical_volume}}`
|
||||
|
||||
- Extend the size of a logical volume as well as the underlying filesystem by 120 GB:
|
||||
|
||||
`lvresize --size +{{120G}} --resizefs {{volume_group}}/{{logical_volume}}`
|
||||
`lvresize {{[-L|--size]}} +120G {{[-r|--resizefs]}} {{volume_group}}/{{logical_volume}}`
|
||||
|
||||
- Extend the size of a logical volume to 100% of the free physical volume space:
|
||||
|
||||
`lvresize --size {{100}}%FREE {{volume_group}}/{{logical_volume}}`
|
||||
`lvresize {{[-l|--extents]}} 100%FREE {{volume_group}}/{{logical_volume}}`
|
||||
|
||||
- Reduce the size of a logical volume as well as the underlying filesystem by 120 GB:
|
||||
|
||||
`lvresize --size -{{120G}} --resizefs {{volume_group}}/{{logical_volume}}`
|
||||
`lvresize {{[-L|--size]}} -120G {{[-r|--resizefs]}} {{volume_group}}/{{logical_volume}}`
|
||||
|
||||
Reference in New Issue
Block a user