Files
oldlinux-files/Minix/2.0.0/wwwman/man1/rm.1.html
2024-02-19 00:21:39 -05:00

74 lines
1.5 KiB
HTML

<HTML>
<HEAD>
<TITLE>rm(1)</TITLE>
</HEAD>
<BODY>
<H1>rm(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
rm - remove a file
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>rm</STRONG> [<STRONG>-ifrRvx</STRONG>] <EM>name</EM> ...
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-i</STRONG> Interactive remove: ask before removing
<STRONG>-f</STRONG> Forced remove: no questions asked
<STRONG>-rR</STRONG> Remove directories and their contents
<STRONG>-v</STRONG> Tell what rm is removing
<STRONG>-x</STRONG> Do not cross device boundaries
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>rm</STRONG> <STRONG>file</STRONG> # Remove <EM>file</EM>
<STRONG>rm</STRONG> <STRONG>-i</STRONG> <STRONG>*.c</STRONG> # Remove .<EM>c</EM> files, asking about each
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Rm</EM> removes one or more files. If a file has no write permission, <EM>rm</EM> asks
for permission (type 'y' or 'n') unless <STRONG>-f</STRONG> is specified. If the file is
a directory, it will be recursively descended and removed if and only if
the <STRONG>-R</STRONG> flag is present.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/cp.1.html">cp(1)</A></STRONG>, <STRONG><A HREF="../man1/mv.1.html">mv(1)</A></STRONG>, <STRONG><A HREF="../man1/rmdir.1.html">rmdir(1)</A></STRONG>, <STRONG><A HREF="../man2/unlink.2.html">unlink(2)</A></STRONG>, <STRONG><A HREF="../man2/rmdir.2.html">rmdir(2)</A></STRONG>.
</PRE>
</BODY>
</HTML>