mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 07:47:12 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/linux/lxc-ls
Normal file
25
tldr/linux/lxc-ls
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lxc-ls
|
||||
|
||||
> List Linux containers.
|
||||
> More information: <https://linuxcontainers.org/lxc/manpages/man1/lxc-ls.1.html>.
|
||||
|
||||
- List active containers (including frozen and running):
|
||||
|
||||
`lxc-ls --active`
|
||||
|
||||
- List only frozen containers:
|
||||
|
||||
`lxc-ls --frozen`
|
||||
|
||||
- List only stopped containers:
|
||||
|
||||
`lxc-ls --stopped`
|
||||
|
||||
- List containers in a fancy, column-based output:
|
||||
|
||||
`lxc-ls --fancy`
|
||||
Reference in New Issue
Block a user