9 Useful touch command examples in Linux

Full Article :

LinuxTechi - https://www.linuxtechi.com/9-useful-touch-command-examples-linux/

Touch command is used to create empty files and also changes the timestamps of existing files on Unix & Linux System. Changing timestamps here means updating the access and modification time of files and directories.

Let’s have a look on the syntax and options used in touch command,

Syntax: # touch {options} {file}

Options used in touch command,

In this article we will walk through 9 useful touch command examples in Linux,

Example:1 Create an empty file using touch

To create an empty file using touch command on Linux systems, type touch followed by the file name, example

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: