6 lines
84 B
Bash

#!/bin/bash
if [[ ! -f file.txt ]] ; then
echo 'hello' > file.txt
exit 1
fi