mirror of https://github.com/CrimsonTome/tldr.git
Make placeholders more compatible with CLIP: (#9870)
- use placeholders for numbers - use "path/to" and "file" - simplify ip placeholderspull/5/head
parent
d70f57f592
commit
dcb6919bbf
|
@ -21,4 +21,4 @@
|
|||
|
||||
- Print out a list of top 5 CPU using processes every second:
|
||||
|
||||
`prstat -c -n 5 -s cpu 1`
|
||||
`prstat -c -n {{5}} -s cpu {{1}}`
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
|
||||
- Save captured packets in a file instead of displaying them:
|
||||
|
||||
`snoop -o {{filename}}`
|
||||
`snoop -o {{path/to/file}}`
|
||||
|
||||
- Display verbose protocol layer summary of packets from a file:
|
||||
|
||||
`snoop -V -i {{filename}}`
|
||||
`snoop -V -i {{path/to/file}}`
|
||||
|
||||
- Capture network packets that come from a hostname and go to a given port:
|
||||
|
||||
|
@ -22,4 +22,4 @@
|
|||
|
||||
- Capture and show a hex-dump of network packets exchanged between two IP addresses:
|
||||
|
||||
`snoop -x0 -p4 {{ip_address_1}} {{ip_address_2}}`
|
||||
`snoop -x0 -p4 {{ip1}} {{ip2}}`
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
- Validate configuration file:
|
||||
|
||||
`svccfg validate {{smf.xml}}`
|
||||
`svccfg validate {{path/to/smf_file.xml}}`
|
||||
|
||||
- Export service configurations to file:
|
||||
|
||||
`svccfg export {{servicename}} > {{smf.xml}}`
|
||||
`svccfg export {{servicename}} > {{path/to/smf_file.xml}}`
|
||||
|
||||
- Import/update service configurations from file:
|
||||
|
||||
`svccfg import {{smf.xml}}`
|
||||
`svccfg import {{path/to/smf_file.xml}}`
|
||||
|
|
Loading…
Reference in New Issue