mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
$: add PID example (#23540)
This commit is contained in:
+2
-2
@@ -11,9 +11,9 @@
|
||||
|
||||
`${{VARIABLE}}`
|
||||
|
||||
- Print the exit status of the previous command:
|
||||
- Print the PID or the exit status of the previous command:
|
||||
|
||||
`echo $?`
|
||||
`echo {{$!|$?}}`
|
||||
|
||||
- Print a random number between 0 and 32767:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user