The touch
command lets us create files or update the access or modified date of a file. It was first created in 1979 by AT&T Bell Laboratories. Today, touch
can be accessed via the terminal on Linux and Unix-based systems.
In this guide, let's look at how touch
works. The syntax for touch
can be seen below, where x is the name of the file we want to interact with or create, and [OPTIONS]
are optional settings we can include: