mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01: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