Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Backup script, to date-stamp file & delete backup files Older than 7 days
  • From: Robert Paulsen <robert@xxxxxxxxxxxxxxxxx>
  • Date: Sat, 22 May 2004 16:42:46 -0500
  • Message-id: <200405221642.46870.robert@xxxxxxxxxxxxxxxxx>
On Saturday 22 May 2004 14:03, pinto wrote:
> On Saturday 22 May 2004 17:54, Ken Schneider wrote:
> > > # delete /bup files older than 7 days
> > > cd /bup
> > > find ./test -mtime +7 -exec rm -f {} \* ;<--remove, not needed
>
> ______________
>
> many thanks . . . i tried removing ";"

Don't do that :-)

>
> ~ the result was, from the root # prompt, the prompt became ">"
>
> { i wonder what the change from # to > means ?}

That is a "secondary prompt" it means the shell is waiting for you to finish
typing a command.

If you put a backslash as the last character on a line it "protects" the enter
key from the shell so the shell thinks there is still more to come for the
command you have typed (as if you hadn't hit enter yet). It (the backslash)
is effectively a continuation character when it is the last character on a
line.

--
Robert C. Paulsen, Jr.
robert@xxxxxxxxxxxxxxxxx

< Previous Next >
Follow Ups