Bash Colon
truncate a file in bash
shell> : > file.txt
: is a built in command in bash; it means no operations (do nothing) and exit status is true.
truncate a file in bash
shell> : > file.txt
: is a built in command in bash; it means no operations (do nothing) and exit status is true.