Exit codes and errors
routinepar 1 commandCreate it only if it is not there
Write ready into the named file, but only if that file does not already exist. One line.
Goal
0 / 1 commands
Create report.txt containing the word ready, but only if it does not already exist. Use a single line with a test and ||.
$
| Mode | Links | Size | Name |
|---|---|---|---|
| -rw-r--r-- | 1 | 0 | other.txt |