Linux

touch

SafeCreate/update timestamp

touch <file>

Creates an empty file or updates a file's timestamp.

Examples

  • touch .keepCreate an empty file

Syntax

touch <file>

Before you run it

Create/timestamp only.

Related commands

  • catPrint file contents

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store