a handy little tool when looking for these things in UNIx are your
handy dandy man pages, though I often find them kinda crpytic.
ledzep> man rm
User Commands rm(1)
NAME
rm, rmdir - remove directory entries
SYNOPSIS
/usr/bin/rm [ -f ] [ -i ] file ...
/usr/bin/rm -rR [ -f ] [ -i ] dirname ... [ file ... ]
/usr/xpg4/bin/rm [ -fiRr ] file ...
/usr/bin/rmdir [ -ps ] dirname ...
DESCRIPTION
/usr/bin/rm /usr/xpg4/bin/rm
The rm utility removes the directory entry specified by
each file argument. If a file has no write permission and
the standard input is a terminal, the full set of permis-
sions (in octal) for the file are printed followed by a
question mark. This is a prompt for confirmation. If the
answer begins with y (for yes), the file is deleted, other-
wise the file remains.
If file is a symbolic link, the link will be removed, but
the file or directory to which it refers will not be
deleted. Users do not need write permission to remove a sym-
bolic link, provided they have write permissions in the
directory.
If multiple files are specified and removal of a file fails
for any reason, rm will write a diagnostic message to stan-
dard error, do nothing more to the current file, and go on
to any remaining files.
If the standard input is not a terminal, the utility will
operate as if the -f option is in effect.
/usr/bin/rmdir
The rmdir utility will remove the directory entry specified
by each dirname operand, which must refer to an empty direc-
tory.
Directories will be processed in the order specified. If a
directory and a subdirectory of that directory are specified
in a single invocation of rmdir , the subdirectory must be
specified before the parent directory so that the parent
directory will be empty when rmdir tries to remove it.
OPTIONS
The following options are supported for /usr/bin/rm and
/usr/xpg4/bin/rm:
-r Recursively remove directories and subdirectories
SunOS 5.7
Leigh Anne Chisholm wrote:
>
> -r is a 'recursive' flag (remove the contents of the directory
recursively).
>
> -f is a 'force flag' (ignore non-existant files, never prompt).
Dave
>
> And for those that don't know, "rm" is used to remove files or directories.
> "/bin" is a common directory where binaries are kept...
>
> -- Leigh Anne
>
> PS. I like it!
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Priscilla Oppenheimer
> > Sent: Wednesday, October 03, 2001 11:27 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: OT: The most powerful Unix command EVER!!! (3rd trail!!!)
> > [7:21880]
> >
> >
> > Hee hee. That's very funny. I'm going to ask a dumb question
> > though. I know
> > what rm does. What does rm -rf do?
> >
> > Often e-mails to the group with URLs in them get filtered. I'm not sure
> > why. It happens especially with short e-mails when the URL is
> > near the top.
> > You just have to be patient and persistent.
> >
> > Priscilla
> >
> > At 11:14 PM 10/2/01, Albert Y. Pak wrote:
> > >Hi guys,
> > >I am having problems send this link out earlier... Sorry about
> > that. Don't
> > >know who I should talk to about this. This happened to me a few
> > times just
> > >to send out the email to this group. :-/
> > >
> > >One last try!
> > >http://www.thinkgeek.com/stuff/apparel/57b2.shtml
> > >
> > >Albert
> > ________________________
> >
> > Priscilla Oppenheimer
> > http://www.priscilla.com
--
David Madland
Sr. Network Engineer
CCIE# 2016
Qwest Communications Int. Inc.
[EMAIL PROTECTED]
612-664-3367
"Emotion should reflect reason not guide it"
Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=21904&t=21904
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]