4 ms·
The other common idiom in scripts that uses the : is : > $LOGFILE which creates a zero-length log file, and removes the contents if it already existed.
by mturmon 5y ago
The other common idiom in scripts that uses the : is
: > $LOGFILE
which creates a zero-length log file, and removes the contents if it already existed.