mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 10:45:37 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/((
Normal file
12
tldr/((
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ((
|
||||
|
||||
> This command is an alias of `let`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr let`
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Bundle with external dependencies not included in the output:
|
||||
|
||||
`bun build {{path/to/entry.ts}} --outfile {{path/to/output.js}} --external {{react react-dom}}`
|
||||
`bun build {{path/to/entry.ts}} --outfile {{path/to/output.js}} {{[-e|--external]}} {{react react-dom}}`
|
||||
|
||||
37
tldr/linux/apptainer-inspect
Normal file
37
tldr/linux/apptainer-inspect
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apptainer inspect
|
||||
|
||||
> Display metadata of Apptainer container images.
|
||||
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_inspect.html>.
|
||||
|
||||
- Show the labels of an image (default):
|
||||
|
||||
`apptainer inspect {{path/to/image.sif}}`
|
||||
|
||||
- Show the definition file used to build the image:
|
||||
|
||||
`apptainer inspect {{[-d|--deffile]}} {{path/to/image.sif}}`
|
||||
|
||||
- Show the runscript for the image:
|
||||
|
||||
`apptainer inspect {{[-r|--runscript]}} {{path/to/image.sif}}`
|
||||
|
||||
- Show the environment variables of the image:
|
||||
|
||||
`apptainer inspect {{[-e|--environment]}} {{path/to/image.sif}}`
|
||||
|
||||
- List all apps in the container:
|
||||
|
||||
`apptainer inspect --list-apps {{path/to/image.sif}}`
|
||||
|
||||
- Show all available data in JSON format:
|
||||
|
||||
`apptainer inspect --all {{path/to/image.sif}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`apptainer inspect {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user