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
Use the rm command to remove files. The rm command removes the entry specified by each file argument. If a file has no write permission and the standard input is a terminal, the full set of permissions (in octal) for the file is printed, followed by a question mark. The question mark is a prompt for confirmation. If your answer begins with y (for yes), the file is deleted; otherwise, the file remains.
If file is a symbolic link, the link is removed but the file or directory to which it refers is not deleted. You do ...
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.