mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
secon: add short options (#23665)
This commit is contained in:
@@ -10,15 +10,15 @@
|
||||
|
||||
- Get the current security context of a process:
|
||||
|
||||
`secon --pid {{1}}`
|
||||
`secon {{[-p|--pid]}} {{1}}`
|
||||
|
||||
- Get the current security context of a file, resolving all intermediate symlinks:
|
||||
|
||||
`secon --file {{path/to/file_or_directory}}`
|
||||
`secon {{[-f|--file]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Get the current security context of a symlink itself (i.e. do not resolve):
|
||||
|
||||
`secon --link {{path/to/symlink}}`
|
||||
`secon {{[-L|--link]}} {{path/to/symlink}}`
|
||||
|
||||
- Parse and explain a context specification:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user