Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

Unix

Unix v6

rm(1)



rm remove (unlink) files [ ] [ ] name ... 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, prints the file name and its mode, then reads a line from the standard input. If the line begins with y, the file is removed, otherwise it is not. The question is not asked if option was given or if the standard input is not a typewriter. If a designated file is a directory, an error comment is printed unless the optional argument has been used. In that case, recursively deletes the entire contents of the specified directory. To remove directories per se see rmdir(I). /etc/glob to implement the flag rmdir (I) When removes the contents of a directory under the flag, full pathnames are not printed in diagnostics.



rm(1)