diff --git a/README.md b/README.md index 1dd26d3..7c3b83f 100644 --- a/README.md +++ b/README.md @@ -502,9 +502,9 @@ $ count ~/Pictures/*.jpg 64 ``` -## Create an empty file +## Create or truncate a file -Alternative to `touch`. +Alternative to `truncate -s0`. ```shell :>file @@ -513,6 +513,17 @@ Alternative to `touch`. >file ``` +## Create or update modification time of a file + +Alternative to `touch`. + +```shell +:>>file + +# OR (shellcheck warns for this) +>>file +``` + # FILE PATHS ## Get the directory name of a file path