.\" -*- 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 TEST 1 "April 2026" "GNU coreutils 9.11" Brugerkommandoer
.SH NAVN
test \- kontroller filtyper og sammenlign værdier
.SH SYNOPSIS
\fBtest\fP \fIUDTRYK\fP
.br
\fBtest\fP
.br
.\" \& tells doclifter the brackets are literal (Bug#31803).
\fB[\&\fP \fIUDTRYK\fP \fB]\&\fP
.br
\fB[\& ]\&\fP
.br
\fB[\&\fP \fIFLAG\fP
.SH BESKRIVELSE
.\" Add any additional description here
.PP
Returner med en statusværdi som bestemmes af UDTRYK.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/test#test\-\-help'\fB\-\-help\fP\X'tty: link'
vis denne hjælpetekst og afslut
.TP
\X'tty: link https://www.gnu.org/software/coreutils/test#test\-\-version'\fB\-\-version\fP\X'tty: link'
vis versionsinformation og afslut
.PP
Et udeladt UDTRYK er som standard falsk. Ellers er UDTRYK sandt eller falsk
og afgør returværdien. Det er en af:
.TP
( UDTRYK )
UDTRYK er sandt
.TP
! UDTRYK
UDTRYK er falsk
.TP
UDTRYK1 \fB\-a\fP UDTRYK2
både UDTRYK1 og UDTRYK2 er sande
.TP
UDTRYK1 \fB\-o\fP UDTRYK2
mindst et af udtrykkene er sande
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-n'\fB\-n STRING\fP\X'tty: link'
længden af STRENG er forskellig fra nul
.TP
STRENG
samme som \fB\-n\fP STRENG
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-z'\fB\-z STRING\fP\X'tty: link'
længden af STRENG er nul
.TP
STRENG1 = STRENG2
strengene er ens
.TP
STRENG1 != STRENG2
strengene er forskellige
.TP
STRENG1 > STRENG2
STRENG1 er større end STRENG2 i det nuværende sprog
.TP
STRENG1 < STRENG2
STRENG1 er mindre end STRENG2 i det nuværende sprog
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-eq'\fBINTEGER1 \-eq INTEGER2\fP\X'tty: link'
HELTAL1 er lig med HELTAL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ge'\fBINTEGER1 \-ge INTEGER2\fP\X'tty: link'
HELTAL1 er større end eller lig med HELTAL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-gt'\fBINTEGER1 \-gt INTEGER2\fP\X'tty: link'
HELTAL1 er større end HELTAL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-le'\fBINTEGER1 \-le INTEGER2\fP\X'tty: link'
HELTAL1 er mindre end eller lig med HELTAL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-lt'\fBINTEGER1 \-lt INTEGER2\fP\X'tty: link'
HELTAL1 er mindre end HELTAL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ne'\fBINTEGER1 \-ne INTEGER2\fP\X'tty: link'
HELTAL1 er forskellig fra HELTAL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ef'\fBFILE1 \-ef FILE2\fP\X'tty: link'
FIL1 og FIL2 har samme enheds\- og inodenummer
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-nt'\fBFILE1 \-nt FILE2\fP\X'tty: link'
FIL1 er nyere (ændringstidspunkt) end FIL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ot'\fBFILE1 \-ot FILE2\fP\X'tty: link'
FIL1 er ældre end FIL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-b'\fB\-b FILE\fP\X'tty: link'
FIL findes og er en specialfil for blokadgang
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-c'\fB\-c FILE\fP\X'tty: link'
FIL findes og er en specialfil for tegnadgang
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-d'\fB\-d FILE\fP\X'tty: link'
FIL findes og er en mappe
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-e'\fB\-e FILE\fP\X'tty: link'
FIL findes
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-f'\fB\-f FILE\fP\X'tty: link'
FIL findes og er en almindelig fil
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-g'\fB\-g FILE\fP\X'tty: link'
FIL findes og har sæt\-gruppe\-ID\-bitten sat
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-G'\fB\-G FILE\fP\X'tty: link'
FIL findes og ejes af det effektive gruppe\-ID
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-h'\fB\-h FILE\fP\X'tty: link'
FIL findes og er en symbolsk lænke (samme som \fB\-L\fP)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-k'\fB\-k FILE\fP\X'tty: link'
FIL findes med klæbebitten sat
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-L'\fB\-L FILE\fP\X'tty: link'
FIL findes og er en symbolsk lænke (samme som \fB\-h\fP)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-N'\fB\-N FILE\fP\X'tty: link'
FIL findes og er blevet ændret, siden den sidst blev indlæst
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-O'\fB\-O FILE\fP\X'tty: link'
FIL findes og ejes af det effektive bruger\-ID
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-p'\fB\-p FILE\fP\X'tty: link'
FIL findes og er en navngivet datakanal
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-r'\fB\-r FILE\fP\X'tty: link'
FIL findes og brugeren har læseadgang
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-s'\fB\-s FILE\fP\X'tty: link'
FIL findes og har størrelse større end nul
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-S'\fB\-S FILE\fP\X'tty: link'
FIL findes og er en sokkel
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-t'\fB\-t FD\fP\X'tty: link'
fildeskriptor FD er åbnet i en terminal
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-u'\fB\-u FILE\fP\X'tty: link'
FIL findes og dens set\-user\-ID\-bit er sat
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-w'\fB\-w FILE\fP\X'tty: link'
FIL findes og brugeren har skriveadgang
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-x'\fB\-x FILE\fP\X'tty: link'
FIL findes og brugeren har adgang til at afvikle (eller søge)
.PP
På nær for \fB\-h\fP og \fB\-L\fP, vil alle FIL\-relaterede test dereferere symbolske
lænker. Vær opmærksom på at parenteser skal undviges (f.eks. med omvendt
skråstreg) for skaller. HELTAL kan også være \fB\-l\fP STRENG, som evalueres til
længden af STRENG.
.PP
Binært \fB\-a\fP og \fB\-o\fP er fundamentalt flertydige. Brug »test EXPR1 && test
EXPR2« eller »test EXPR1 || test EXPR2« i stedet.
.PP
\&»[« respekterer flagene \fB\-\-help\fP og \fB\-\-version\fP, men »test« behandler
dem som STRENGE.
.PP
Din skal har måske sin egen version af test og/eller [, som normalt
erstatter versionen beskrevet her. Se venligst din skals dokumentation for
detaljer angående de understøttede flag.
.SH FORFATTER
Skrevet af Kevin Braunsdorf og Matthew Bradburn.
.SH FEJLRAPPORTER
Rapporter fejl til: bug\-coreutils@gnu.org
.br
Hjemmeside for GNU coreutils:
.br
Generel hjælp til GNU\-programmer:
.br
Rapporter oversættelsesfejl til
.SH OPHAVSRET
Ophavsret \(co 2026 Free Software Foundation, Inc. Licens GPLv3+: GNU GPL
version 3 eller nyere .
.br
Dette er et frit program: du kan frit ændre og videredistribuere det. Der
gives INGEN GARANTI, i den grad som loven tillader dette.
.SH "SE OGSÅ"
\fBaccess\fP(2)
.PP
.br
Fuld dokumentation
.br
eller lokalt tilgængelig via: info \(aq(coreutils) test invocation\(aq
.PP
.SH OVERSÆTTELSE
Oversættere af denne manual til dansk
Joe Hansen
.
.PP
Denne oversættelse er gratis dokumentation; læs
.UR https://www.gnu.org/licenses/gpl-3.0.html
GNU General Public License version 3
.UE
eller nyere for ophavsretbetingelser. Der er INGEN ANSVAR.
.PP
Hvis du støder på fejl i oversættelsen af denne vejledning, skal du sende en besked til
.MT debian-l10n-danish@lists.debian.org
.ME .