Touch it again, all you're doing is creating a blank file.

If the file exists (Blank or otherwise), touching it will update the access
time.
If the file doesn't exist, a completely blank one will be created (so that
the access time can be updated.)

Kev.

----- Original Message -----
From: "Graham Monk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 05, 2003 12:29 PM
Subject: Re: (clug-talk) Bash errors


> Jesse Kline wrote:
>
> >On Wed, 2003-02-05 at 11:14, Graham Monk wrote:
> >
> >
> >
> >>Would that # # with the touch command have caused
> >>any problems? I did get the space between touch and /var/
> >>
> >>
> >
> >The # usually denotes a root prompt. In bash you will see a $ is you are
> >a normal user, and a # if you are root. You do not need to add in your
> >own #. touch is the command you want to use. It will create a blank file
> >that you specify in $1.
> >
> >Jesse
> >
> >
> I understand I should not have put in the extra #, however I did put it
> in the first
> time, will this have done anything it shouldn't have? Will I have to
> correct it?
>
> Thanks Graham
>
>
>
>

Reply via email to