AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
� I ? / � '·---
RM ( l ) RM (l) NAME rm, rmdir - remove files or directories SYNOPSIS rm [ -fri ] file rmdir dir ... DESCRIPTION Rm removes the entries for one or more files from a directory. If an entry was the last link to the file, the file is destroyed. Removal of a file requires write permission in its directory, but neither read nor write permission on the file itself. If a file has no write permission and the standard input is a terminal, its permissions are printed and a line is read from the standard input. If that line begins with y the file is deleted, otherwise the file remains. No questions are asked when the -f option is given or if the standard input is not a terminal. If a designated file is a directory, an error comment is printed unless the optional argument -r has been used. In that case, rm recursively deletes the entire contents of the specified directory, and the directory itself. If the -i (interactive) option is in effect, rm asks whether to delete each file, and, under -r, whether to examine each directory. Rmdir removes entries for the named directories, which must be empty. SEE ALSO unlink(2). DIAGNOSTICS Generally self-explanatory. It is forbidden to remove the file •• merely to avoid the antisocial consequences of inadvertently doing something like: rm -r ·* - 1 -
- Page 438 and 439: MM (l) HINTS MM (l) Mm reads the st
- Page 440 and 441: i�
- Page 442 and 443: MORE(l) MORE (l) stand-out mode, mo
- Page 444 and 445: MORE( I) MORE(l) The terminal is se
- Page 446 and 447: NEWFORM ( l ) -ck -pn -an NEWFORM (
- Page 449: NEWGRP ( I ) NEWGRP ( I ) NAME newg
- Page 452 and 453: � ', y n \,..._ --
- Page 454 and 455: NL(l) NL(l) -ssep Sep is the charac
- Page 456 and 457: NM (l) FILES NM ( l ) -V Print the
- Page 459 and 460: NROFF(l) NROFF(l) NAME nroff - form
- Page 461 and 462: OD (1) OD (1) NAME od - octal dump
- Page 463 and 464: PACK ( 1) PACK( l ) NAME pack, peat
- Page 465: PASSWD ( l ) PASSWD ( l ) NAME pass
- Page 468 and 469: PASTE (l) PASTE (l) pr(l): pr -t -
- Page 471 and 472: PR (l) PR (l) NAME pr - print files
- Page 473 and 474: PROF ( 1) PROF ( 1) NAME prof - dis
- Page 475 and 476: PRS ( l ) PRS ( l ) NAME prs - prin
- Page 477 and 478: PRS ( 1 ) PRS ( 1 ) TABLE 1 (Contin
- Page 479 and 480: PS ( l ) PS ( l ) NAME ps - report
- Page 481: PS (l) PS (l) WCHAN (1) The event f
- Page 484 and 485: PTX ( 1) PTX ( 1) SEE ALSO nroff( l
- Page 487: REGCMP ( 1 ) REGCMP (l) NAME regcmp
- Page 492 and 493: I�
- Page 495: SCCSDIFF ( 1 ) SCCSDIFF ( 1 ) NAME
- Page 499 and 500: SDB ( l ) SDB ( 1) NAME sdb - symbo
- Page 501 and 502: � I SDB ( 1) SDB ( 1) file may ov
- Page 503 and 504: SDB ( 1) SDB ( 1) e directory file-
- Page 505 and 506: SDB ( 1 ) SDB ( 1 ) execution. B Pr
- Page 507: SDB ( 1 ) SDB ( 1 ) WARNINGS BUGS W
- Page 510 and 511: SDIFF ( 1) SDIFF(l) On exit from th
- Page 512 and 513: SED ( 1) SED ( 1) In the following
- Page 515 and 516: SETPRINT ( 1 ) SETPRINT ( 1 ) NAME
- Page 517 and 518: -� SH ( l ) NAME SH ( l ) sh, rsh
- Page 519 and 520: SH ( 1 ) SH(l) positional parameter
- Page 521 and 522: SH ( 1 ) word >> word
- Page 523 and 524: SH ( 1 ) SH ( 1) cd [ arg ] Change
- Page 525 and 526: SH (l) SH (l) Invocation . If the s
- Page 527 and 528: SHFORM (I) {AT&T UNIX PC only ) SHF
- Page 529 and 530: ( \ SHFORM(I) (AT&T UNIX PC only )
- Page 531 and 532: SIZE ( 1 ) SIZE ( 1) NAME size - pr
- Page 533: �· ! SLEEP (I) SLEEP (I) NAME sl
- Page 536 and 537: SORT(l) SORT(l) 0 The next argument
�<br />
I<br />
?<br />
/<br />
�<br />
'·---