Pipes and streams
routinepar 2 commandsWhat did the background job do?
Run something that fails in the background, then report the status it exited with. $? straight after an & will not tell you.
Goal
0 / 2 commands
Run a command that fails in the background, then print the status it exited with — using $! to name it. Print nothing else.
- ·Puts the answer on standard output
$
| Mode | Links | Size | Name |
|---|---|---|---|
| -rw-r--r-- | 1 | 0 | placeholder.txt |