[Gllug] 'touch' command

Alain Williams addw at phcomp.co.uk
Wed May 30 15:49:42 UTC 2007


On Wed, May 30, 2007 at 04:49:51PM +0100, john gennard wrote:
> I've used touch for years, and wanted to set permissions
> on some files I was creating. So, for the first time ever,
> I pulled up the man page and found it does not mention the
> creation of files. Is this a command everyone knows about
> but no one has 'written up'?

It will create a file if it does not exist -- unless you give it a '-c' option.

-- 
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list