| RM(1) | Brukerkommandoer | RM(1) |
rm - remove files or directories
rm [VALG]... [FIL]...
This manual page documents the GNU version of rm. rm removes each specified file. By default, it does not remove directories.
If the -I or --interactive=once option is given, and there are more than three files or the -r, -R, or --recursive are given, then rm prompts the user for whether to proceed with the entire operation. If the response is not affirmative, the entire command is aborted.
Otherwise, if a file is unwritable, standard input is a terminal, and the -f or --force option is not given, or the -i or --interactive=always option is given, rm prompts the user for whether to remove the file. If the response is not affirmative, the file is skipped.
Remove (unlink) the FILE(s).
rm fjerner ikke mapper som standard. Bruk valget --recursive (-r eller -R) for å fjerne både fil(er) og mappe(r), inkludert mappeinnhold.
Any attempt to remove a file whose last file name component is '.' or '..' is rejected with a diagnostic.
Bruk én av følgende kommandoer for å fjerne filer med navn som starter på «-» (f.eks. «-foo»):
If you use rm to remove a file, it might be possible to recover some of its contents, given sufficient expertise and/or time. For greater assurance that the contents are unrecoverable, consider using shred(1).
Skrevet av Paul Rubin, David MacKenzie, Richard M. Stallman og Jim Meyering.
Få hjelp til bruk av GNU coreutils på nett:
<https://www.gnu.org/software/coreutils/>
Rapporter oversettelsesfeil til
<https://translationproject.org/team/nb.html>
unlink(1), unlink(2), chattr(1), shred(1)
Fullstendig dokumentasjon:
<https://www.gnu.org/software/coreutils/rm>
eller lokalt: info '(coreutils) rm invocation'
Packaged by Debian (9.7-2)
Copyright © 2025 Free Software Foundation, Inc.
Lisens GPLv3+: GNU GPL versjon 3 eller senere
<https://gnu.org/licenses/gpl.html>.
Dette er fri programvare. Du kan endre og dele den videre.
Det stilles INGEN GARANTI, i den grad dette tillates av gjeldende lovverk.
Den norske oversettelsen av denne manualsiden er laget av
Denne oversettelsen er gratis dokumentasjon; se GNU General Public License versjon 3 eller senere for opphavsrettsvilkår. Vi påtar oss INGEN ANSVAR.
Hvis du finner feil i oversettelsen av denne håndboksiden, vennligst send en e-post til <TODO>.
| April 2025 | GNU coreutils 9.7 |