.\" -*- 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" Brukerkommandoer
.SH NAVN
test \- check file types and compare values
.SH OVERSIKT
\fBtest\fP \fIUTTRYKK\fP
.br
\fBtest\fP
.br
.\" \& tells doclifter the brackets are literal (Bug#31803).
\fB[\&\fP \fIUTTRYKK\fP \fB]\&\fP
.br
\fB[\& ]\&\fP
.br
\fB[\&\fP \fIVALG\fP
.SH BESKRIVELSE
.\" Add any additional description here
.PP
Avslutt med statusen som avgjøres av angitt UTTRYKK.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/test#test\-\-help'\fB\-\-help\fP\X'tty: link'
Vis denne hjelpeteksten og avslutt.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/test#test\-\-version'\fB\-\-version\fP\X'tty: link'
Vis versjonsinformasjon og avslutt.
.PP
Hvis du ikke bruker et UTTRYKK, avslutter programmet med falsk
verdi. UTTRYKKet er enten sant eller usant, og avgjør status. Det er i siste
instans ett av følgende:
.TP
( UTTRYKK )
UTTRYKK er sant
.TP
! UTTRYKK
UTTRYKK er usant
.TP
UTTRYKK1 \fB\-a\fP UTTRYKK2
både UTTRYKK1 og UTTRYKK2 er sanne
.TP
UTTRYKK1 \fB\-o\fP UTTRYKK2
enten UTTRYKK1 eller UTTRYKK2 er sant
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-n'\fB\-n STRENG\fP\X'tty: link'
STRENGens lengde er ikke null
.TP
STRENG
tilsvarer «\fB\-n\fP STRENG»
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-z'\fB\-z STRENG\fP\X'tty: link'
STRENGens lengde er null
.TP
STRENG1 = STRENG2
strengene er identiske
.TP
STRENG1 != STRENG2
strengene er ikke identiske
.TP
STRENG1 > STRENG2
STRING1 is greater than STRING2 in the current locale
.TP
STRENG1 < STRENG2
STRING1 is less than STRING2 in the current locale
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-eq'\fIHELTALL1\fP\fB \-eq \fP\fIHELTALL2\fP\X'tty: link'
HELTALL1 er identisk med HELTALL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ge'\fIHELTALL1\fP\fB \-ge \fP\fIHELTALL2\fP\X'tty: link'
HELTALL1 er identisk med, eller større enn HELTALL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-gt'\fIHELTALL1\fP\fB \-gt \fP\fIHELTALL2\fP\X'tty: link'
HELTALL1 er høyere enn HELTALL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-le'\fIHELTALL1\fP\fB \-le \fP\fIHELTALL2\fP\X'tty: link'
HELTALL1 er lavere enn, eller identisk med HELTALL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-lt'\fIHELTALL1\fP\fB \-lt \fP\fIHELTALL2\fP\X'tty: link'
HELTALL1 er lavere enn HELTALL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ne'\fIHELTALL1\fP\fB \-ne \fP\fIHELTALL2\fP\X'tty: link'
HELTALL1 er ikke identisk med HELTALL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ef'\fIFIL1\fP\fB \-ef \fP\fIFIL2\fP\X'tty: link'
FIL1 og FIL2 har samme enhets\- og inode\-nummer
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-nt'\fIFIL1\fP\fB \-nt \fP\fIFIL2\fP\X'tty: link'
FIL1 er nyere (har senere endringstidspunkt) enn FIL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-ot'\fIFIL1\fP\fB \-ot \fP\fIFIL2\fP\X'tty: link'
FIL1 er eldre enn FIL2
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-b'\fB\-b \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er en blokk\-spesialfil
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-c'\fB\-c \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er tegn\-spesialfil
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-d'\fB\-d \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er en mappe
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-e'\fB\-e \fP\fIFIL\fP\X'tty: link'
FIL finnes
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-f'\fB\-f \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er en vanlig fil
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-g'\fB\-g \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er tildelt gruppe\-ID
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-G'\fB\-G \fP\fIFIL\fP\X'tty: link'
FIL finnes, og eies av effektiv gruppe\-ID
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-h'\fB\-h \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er en symbolsk lenke (tilsvarer \fB\-L\fP)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-k'\fB\-k \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er låst («sticky bit» er markert)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-L'\fB\-L \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er en symbolsk lenke (tilsvarer \fB\-h\fP)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-N'\fB\-N \fP\fIFIL\fP\X'tty: link'
FIL finnes og er blitt endret siden sist den ble lest
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-O'\fB\-O \fP\fIFIL\fP\X'tty: link'
FIL finnes, og eies av effektiv bruker\-ID
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-p'\fB\-p \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er et navngitt datarør
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-r'\fB\-r \fP\fIFIL\fP\X'tty: link'
FILE exists and the user has read access
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-s'\fB\-s \fP\fIFIL\fP\X'tty: link'
FIL finnes, og har en størrelse som er over null
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-S'\fB\-S \fP\fIFIL\fP\X'tty: link'
FIL finnes, og er en sokkelfil
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-t'\fB\-t \fP\fIFD\fP\X'tty: link'
fildeskriptor FD er åpen i en terminal
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-u'\fB\-u \fP\fIFIL\fP\X'tty: link'
FIL finnes, og «set\-user\-ID»\-biten er valgt
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-w'\fB\-w \fP\fIFIL\fP\X'tty: link'
FILE exists and the user has write access
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#test\-x'\fB\-x \fP\fIFIL\fP\X'tty: link'
FILE exists and the user has execute (or search) access
.PP
Alle FILrelaterte tester følger symbolske lenker, unntatt ved valg av \fB\-h\fP
og \fB\-L\fP. Merk at parentestegn må vernes med skiftetegn (f.eks. med «\») i
skall. HELTALLet kan også være «\fB\-l\fP STRENG», som sjekker lengden på
STRENGen.
.PP
Binary \fB\-a\fP and \fB\-o\fP are ambiguous. Use 'test EXPR1 && test EXPR2' or
\&'test EXPR1 || test EXPR2' instead.
.PP
\&'[' honors \fB\-\-help\fP and \fB\-\-version\fP, but 'test' treats them as STRINGs.
.PP
Det er mulig at skallet ditt bruker en egen versjon av \fBtest\fP og/eller
\fB[\fP, som ofte er nyere enn versjonen som beskrives her. Les dokumentasjonen
for skallet for mer informasjon om hvilke valg som støttes.
.SH FORFATTER
Skrevet av Kevin Braunsdorf og Matthew Bradburn.
.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Å"
\fBaccess\fP(2)
.PP
.br
Fullstendig dokumentasjon
.br
eller lokalt: info \(aq(coreutils) test 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 .