From 9880f147499b23feed94cac893f239f52390cd58 Mon Sep 17 00:00:00 2001 From: Yrsa97 <73066391+Yrsa97@users.noreply.github.com> Date: Mon, 19 Oct 2020 20:55:28 +0200 Subject: [PATCH] nohup, rev, sleep, source, time, true, tty: add Swedish translation (#4766) * nohup: add Swedish translation * rev: add Swedish translation * sleep: add Swedish translation * source: add Swedish translation * time: add Swedish translation * true: add Swedish translation * tty: add Swedish translation --- pages.sv/common/nohup.md | 7 +++++++ pages.sv/common/rev.md | 11 +++++++++++ pages.sv/common/sleep.md | 15 +++++++++++++++ pages.sv/common/source.md | 7 +++++++ pages.sv/common/time.md | 7 +++++++ pages.sv/common/true.md | 8 ++++++++ pages.sv/common/tty.md | 7 +++++++ 7 files changed, 62 insertions(+) create mode 100644 pages.sv/common/nohup.md create mode 100644 pages.sv/common/rev.md create mode 100644 pages.sv/common/sleep.md create mode 100644 pages.sv/common/source.md create mode 100644 pages.sv/common/time.md create mode 100644 pages.sv/common/true.md create mode 100644 pages.sv/common/tty.md diff --git a/pages.sv/common/nohup.md b/pages.sv/common/nohup.md new file mode 100644 index 000000000..392190063 --- /dev/null +++ b/pages.sv/common/nohup.md @@ -0,0 +1,7 @@ +# nohup + +> Tillåter en process att leva när terminalen dödas. + +- Kör process som kan leva bortom terminalen: + +`nohup {{kommandoalternativ}}` diff --git a/pages.sv/common/rev.md b/pages.sv/common/rev.md new file mode 100644 index 000000000..9769f23ba --- /dev/null +++ b/pages.sv/common/rev.md @@ -0,0 +1,11 @@ +# rev + +> Omvänd en textrad. + +- Omvänd textraden "hello": + +`echo "hello" | rev` + +- Omvänd hel fil och skriv till `stdout`: + +`rev {{fil}}` diff --git a/pages.sv/common/sleep.md b/pages.sv/common/sleep.md new file mode 100644 index 000000000..4030acdf5 --- /dev/null +++ b/pages.sv/common/sleep.md @@ -0,0 +1,15 @@ +# sleep + +> Fördröjning under bestämd tid. + +- Fördröj i sekunder: + +`sleep {{sekunder}}` + +- Fördröj i minuter: + +`sleep {{minuter}}m` + +- Fördröj i timmar: + +`sleep {{timmar}}h` diff --git a/pages.sv/common/source.md b/pages.sv/common/source.md new file mode 100644 index 000000000..e4213beea --- /dev/null +++ b/pages.sv/common/source.md @@ -0,0 +1,7 @@ +# source + +> Kör kommandon från en fil i det aktuella skalet. + +- Utvärdera innehållet i en viss fil: + +`source {{väg/till/fil}}` diff --git a/pages.sv/common/time.md b/pages.sv/common/time.md new file mode 100644 index 000000000..5c299d1e9 --- /dev/null +++ b/pages.sv/common/time.md @@ -0,0 +1,7 @@ +# time + +> Se hur lång tid ett kommando tar. + +- Tidtagning "ls": + +`time ls` diff --git a/pages.sv/common/true.md b/pages.sv/common/true.md new file mode 100644 index 000000000..40ee4db58 --- /dev/null +++ b/pages.sv/common/true.md @@ -0,0 +1,8 @@ +# true + +> Returnerar en lyckad utgångsstatuskod på 0. +> Använd detta med || operatör för att göra att ett kommando alltid stänger med 0. + +- Returnera en lyckad utgångskod: + +`true` diff --git a/pages.sv/common/tty.md b/pages.sv/common/tty.md new file mode 100644 index 000000000..9dd809039 --- /dev/null +++ b/pages.sv/common/tty.md @@ -0,0 +1,7 @@ +# tty + +> Returnerar terminalnamn. + +- Skriv ut filnamnet på denna terminal: + +`tty`