Javatpoint Logo
Javatpoint Logo

Linux touch -c command

Using 'c' option with touch command will not create an empty file, if that file doesn't exist.

Syntax:

Example:

TOUCH Command

In above figure, we wanted to create file 'movie' but with 'c' option no file has been created.

Next TopicLinux File rm




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA