.\" -*- coding: UTF-8 -*-
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH RM 1 "April 2026" "GNU coreutils 9.11" Brukerkommandoer
.SH NAVN
rm \- remove files or directories
.SH OVERSIKT
\fBrm\fP [\fI\,VALG\/\fP]... [\fI\,FIL\/\fP]...
.SH BESKRIVELSE
This manual page documents the GNU version of \fBrm\fP. \fBrm\fP removes each
specified file. By default, it does not remove directories.
.P
If the \fI\-I\fP or \fI\-\-interactive=once\fP option is given, and there are more
than three files or the \fI\-r\fP, \fI\-R\fP, or \fI\-\-recursive\fP are given, then
\fBrm\fP prompts the user for whether to proceed with the entire operation. If
the response is not affirmative, the entire command is aborted.
.P
Otherwise, if a file is unwritable, standard input is a terminal, and the
\fI\-f\fP or \fI\-\-force\fP option is not given, or the \fI\-i\fP or
\fI\-\-interactive=always\fP option is given, \fBrm\fP prompts the user for whether
to remove the file. If the response is not affirmative, the file is
skipped.
.SH VALG
.PP
Remove (unlink) the FILE(s).
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-f'\fB\-f, \-\-force\fP\X'tty: link'
Ignorer filer og argumenter som ikke eksisterer, og ikke spør om noe).
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-i'\fB\-i\fP\X'tty: link'
Be om bekreftelse før fil(er) fjernes.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-I'\fB\-I\fP\X'tty: link'
Spør én gang før fjerning av flere enn tre filer og/eller eller ved rekursiv
fjerning. Dette er mindre irriterende enn \fB\-i\fP, og beskytter fremdeles mot
de fleste uhell.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-\-interactive'\fB\-\-interactive[=\fP\fINÅR\fP\fB]\fP\X'tty: link'
Spør om bekreftelse ihht. NÅR: «never» (aldri), «once» (tilsvarer \fB\-I\fP)
eller «always» (tilsvarer \fB\-i\fP). Uten angitt NÅR, spør programmet alltid.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-\-one\-file\-system'\fB\-\-one\-file\-system\fP\X'tty: link'
Hopp over mapper som finnes på andre filsystemer enn selve
kommandoargumentet.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-\-no\-preserve\-root'\fB\-\-no\-preserve\-root\fP\X'tty: link'
Ikke gi «/» spesialbehandling.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-\-preserve\-root'\fB\-\-preserve\-root[=all]\fP\X'tty: link'
do not remove '/' (default); with 'all', reject any command line argument on
a separate device from its parent
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-r'\fB\-r, \-R, \-\-recursive\fP\X'tty: link'
Fjern mappe(r) og mappeinnhold rekursivt.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-d'\fB\-d, \-\-dir\fP\X'tty: link'
Fjern tom(me) mappe(r).
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#rm\-v'\fB\-v, \-\-verbose\fP\X'tty: link'
Forklar hva som blir gjort.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/rm#rm\-\-help'\fB\-\-help\fP\X'tty: link'
Vis denne hjelpeteksten og avslutt.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/rm#rm\-\-version'\fB\-\-version\fP\X'tty: link'
Vis versjonsinformasjon og avslutt.
.PP
\fBrm\fP fjerner ikke mapper som standard. Bruk valget \fB\-\-recursive\fP (\fB\-r\fP
eller \fB\-R\fP) for å fjerne både fil(er) og mappe(r), inkludert mappeinnhold.
.PP
Any attempt to remove a file whose last file name component is '.' or '..'
is rejected with a diagnostic.
.PP
Bruk én av følgende kommandoer for å fjerne filer med navn som starter på
«\-» (f.eks. «\-foo»):
.IP
rm \fB\-\-\fP \fB\-foo\fP
.IP
rm ./\-foo
.PP
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 \fBshred\fP(1).
.SH FORFATTER
Skrevet av Paul Rubin, David MacKenzie, Richard M. Stallman og Jim Meyering.
.SH "RAPPORTERING AV FEIL"
Rapporter feil til: bug\-coreutils@gnu.org
.br
Nettside for GNU coreutils:
.br
Generell hjelp til bruk av GNU\-programvare:
.br
Rapporter oversettelsesfeil til
.SH OPPHAVSRETT
Copyright \(co 2026 Free Software Foundation, Inc. Lisens GPLv3+: GNU GPL
versjon 3 eller senere .
.br
Dette er fri programvare. Du kan endre og dele den videre. Det stilles INGEN
GARANTI, i den grad dette tillates av gjeldende lovverk.
.SH "SE OGSÅ"
\fBunlink\fP(1), \fBunlink\fP(2), \fBchattr\fP(1), \fBshred\fP(1)
.PP
.br
Fullstendig dokumentasjon:
.br
eller lokalt: info \(aq(coreutils) rm invocation\(aq
.PP
.SH OVERSETTELSE
Den norske oversettelsen av denne manualsiden er laget av
.
.PP
Denne oversettelsen er gratis dokumentasjon; se
.UR https://www.gnu.org/licenses/gpl-3.0.html
GNU General Public License versjon 3
.UE
eller senere for opphavsrettsvilkår. Vi påtar oss INGEN ANSVAR.
.PP
Hvis du finner feil i oversettelsen av denne håndboksiden,
vennligst send en e-post til .