mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 03:00:19 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List namespaces in JSON format:
|
||||
|
||||
`lsns --json`
|
||||
`lsns {{[-J|--json]}}`
|
||||
|
||||
- List namespaces associated with the specified process:
|
||||
|
||||
`lsns --task {{pid}}`
|
||||
`lsns {{[-p|--task]}} {{pid}}`
|
||||
|
||||
- List the specified type of namespaces only:
|
||||
|
||||
`lsns --type {{mnt|net|ipc|user|pid|uts|cgroup|time}}`
|
||||
`lsns {{[-t|--type]}} {{mnt|net|ipc|user|pid|uts|cgroup|time}}`
|
||||
|
||||
- List namespaces, only showing the namespace ID, type, PID, and command:
|
||||
|
||||
`lsns --output {{NS,TYPE,PID,COMMAND}}`
|
||||
`lsns {{[-o|--output]}} {{NS,TYPE,PID,COMMAND}}`
|
||||
|
||||
Reference in New Issue
Block a user