rm.1 (589B)
1 .Dd 2015-10-08 2 .Dt RM 1 3 .Os sbase 4 .Sh NAME 5 .Nm rm 6 .Nd remove directory entries 7 .Sh SYNOPSIS 8 .Nm 9 .Op Fl f 10 .Op Fl Rr 11 .Ar file ... 12 .Sh DESCRIPTION 13 .Nm 14 removes each 15 .Ar file . 16 If 17 .Ar file 18 is a directory, it has to be empty unless 19 .Fl R 20 or 21 .Fl r 22 is specified. 23 .Sh OPTIONS 24 .Bl -tag -width Ds 25 .It Fl f 26 Do not prompt before removing 27 .Ar file . 28 Do not report when 29 .Ar file 30 doesn't exist or couldn't be removed. 31 .It Fl Rr 32 Remove directories recursively. 33 .El 34 .Sh SEE ALSO 35 .Xr remove 3 36 .Sh STANDARDS 37 The 38 .Nm 39 utility is compliant with the 40 .St -p1003.1-2013 41 specification except from the 42 .Op Fl i 43 flag.