mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
cat, cksum, comm, cut, chcon, csplit: add Dutch translation (#11999)
Co-authored-by: Leon <leonvsc@users.noreply.github.com>
This commit is contained in:
parent
214ad27211
commit
73c8bd118f
9 changed files with 154 additions and 8 deletions
24
pages.nl/common/cat.md
Normal file
24
pages.nl/common/cat.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# cat
|
||||
|
||||
> Toon en voeg bestanden samen.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/cat>.
|
||||
|
||||
- Toon de inhoud van een bestand in `stdout`:
|
||||
|
||||
`cat {{pad/naar/bestand}}`
|
||||
|
||||
- Voeg verschillende bestanden samen in een uitvoerbestand:
|
||||
|
||||
`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/uitvoerbestand}}`
|
||||
|
||||
- Voeg verschillende bestanden toe aan een uitvoerbestand:
|
||||
|
||||
`cat {{pad/naar/bestand1 pad/naar/bestand2 ...}} >> {{pad/naar/uitvoerbestand}}`
|
||||
|
||||
- Kopieer de inhoud van een bestand in een uitvoerbestand zonder te bufferen:
|
||||
|
||||
`cat -u {{/dev/tty12}} > {{/dev/tty13}}`
|
||||
|
||||
- Schrijf `stdin` naar een bestand:
|
||||
|
||||
`cat - > {{pad/naar/bestand}}`
|
9
pages.nl/common/cksum.md
Normal file
9
pages.nl/common/cksum.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# cksum
|
||||
|
||||
> Bereken de CRC checksums en het aantal bytes van een bestand.
|
||||
> Opmerking: op oudere UNIX systemen kan de CRC implementatie verschillen.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/cksum>.
|
||||
|
||||
- Toon een 32-bit checksum, grootte in bytes en bestandsnaam:
|
||||
|
||||
`cksum {{pad/naar/bestand}}`
|
24
pages.nl/common/comm.md
Normal file
24
pages.nl/common/comm.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# comm
|
||||
|
||||
> Toon overeenkomstige regels tussen twee bestanden. Beide bestanden dienen gesorteerd te zijn.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/comm>.
|
||||
|
||||
- Produceer drie tab-gescheiden kolommen: regels die alleen voorkomen in het eerste bestand, regels die alleen voorkomen in het tweede bestand en overeenkomstige regels tussen beide bestanden:
|
||||
|
||||
`comm {{bestand1}} {{bestand2}}`
|
||||
|
||||
- Toon alleen overeenkomstige regels van beide bestanden:
|
||||
|
||||
`comm -12 {{bestand1}} {{bestand2}}`
|
||||
|
||||
- Toon alleen de overeenkomstige regels van beide bestanden en lees een bestand vanaf `stdin`:
|
||||
|
||||
`cat {{bestand1}} | comm -12 - {{bestand2}}`
|
||||
|
||||
- Sla regels die alleen in het eerste bestand worden gevonden op in een derde bestand:
|
||||
|
||||
`comm -23 {{bestand1}} {{bestand2}} > {{alleen_bestand1}}`
|
||||
|
||||
- Toon de regels welke alleen in het tweede bestand gevonden worden, als de bestanden niet gesorteerd zijn:
|
||||
|
||||
`comm -13 <(sort {{bestand1}}) <(sort {{bestand2}})`
|
16
pages.nl/common/cut.md
Normal file
16
pages.nl/common/cut.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# cut
|
||||
|
||||
> Snij velden eruit vanuit `stdin` of bestanden.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/cut>.
|
||||
|
||||
- Toon een specifiek karakter/veldbereik voor iedere regel:
|
||||
|
||||
`{{commando}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}`
|
||||
|
||||
- Toon een bereik voor iedere regel met een specifieke scheiding:
|
||||
|
||||
`{{commando}} | cut --delimiter="{{,}}" --fields={{1}}`
|
||||
|
||||
- Toon een bereik van iedere regel voor een specifiek bestand:
|
||||
|
||||
`cut --characters={{1}} {{pad/naar/bestand}}`
|
32
pages.nl/linux/chcon.md
Normal file
32
pages.nl/linux/chcon.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# chcon
|
||||
|
||||
> Verander SELinux beveiligingscontext van een bestand of bestanden/mappen.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/chcon>.
|
||||
|
||||
- Toon beveiligingscontext van een bestand:
|
||||
|
||||
`ls -lZ {{pad/naar/bestand}}`
|
||||
|
||||
- Verander de beveiligingscontext van een doelbestand, door gebruik te maken van een referentiebestand:
|
||||
|
||||
`chcon --reference={{referentiebestand}} {{doelbestand}}`
|
||||
|
||||
- Verander de volledige SELinux beveiligingscontext van een bestand:
|
||||
|
||||
`chcon {{gebruiker}}:{{rol}}:{{type}}:{{bereik/niveau}} {{bestandsnaam}}`
|
||||
|
||||
- Verander alleen het gebruikersgedeelte van de SELinux beveiligingscontext:
|
||||
|
||||
`chcon -u {{user}} {{bestandsnaam}}`
|
||||
|
||||
- Verander alleen het rolgedeelte van de SELinux beveiligingscontext:
|
||||
|
||||
`chcon -r {{rol}} {{bestandsnaam}}`
|
||||
|
||||
- Verander alleen het typegedeelte van de SELinux beveiligingscontext:
|
||||
|
||||
`chcon -t {{type}} {{bestandsnaam}}`
|
||||
|
||||
- Verander alleen het bereik/niveaugedeelte van de SELinux beveiligingscontext:
|
||||
|
||||
`chcon -l {{bereik/niveau}} {{bestandsnaam}}`
|
25
pages.nl/linux/csplit.md
Normal file
25
pages.nl/linux/csplit.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# csplit
|
||||
|
||||
> Splits een bestand in stukken.
|
||||
> Dit genereert bestanden zoals "xx00", "xx01" etc.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/csplit>.
|
||||
|
||||
- Splits een bestand op regels 5 en 23:
|
||||
|
||||
`csplit {{pad/naar/bestand}} 5 23`
|
||||
|
||||
- Splits een bestand iedere 5 regels (dit zal falen als het totaal aantal regels niet deelbaar is door 5):
|
||||
|
||||
`csplit {{pad/naar/bestand}} 5 {*}`
|
||||
|
||||
- Splits een bestand iedere 5 regels en negeer de exacte verdeeldheid error:
|
||||
|
||||
`csplit -k {{pad/naar/bestand}} 5 {*}`
|
||||
|
||||
- Splits een bestand op regel 5 en gebruik een aangepaste prefix voor de uitvoerbestanden:
|
||||
|
||||
`csplit {{pad/naar/bestand}} 5 -f {{prefix}}`
|
||||
|
||||
- Splits een bestand op een regel die overeenkomt met de reguliere expressie:
|
||||
|
||||
`csplit {{pad/naar/bestand}} /{{reguliere_expressie}}/`
|
16
pages.nl/osx/cut.md
Normal file
16
pages.nl/osx/cut.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# cut
|
||||
|
||||
> Snij velden eruit vanuit `stdin` of bestanden.
|
||||
> Meer informatie: <https://manned.org/man/freebsd-13.0/cut.1>.
|
||||
|
||||
- Toon een specifiek karakter/veldbereik voor iedere regel:
|
||||
|
||||
`{{commando}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}`
|
||||
|
||||
- Toon een bereik voor iedere regel met een specifieke scheiding:
|
||||
|
||||
`{{commando}} | cut -d "{{,}}" -f {{1}}`
|
||||
|
||||
- Toon een bereik van iedere regel voor een specifiek bestand:
|
||||
|
||||
`cut -c {{1}} {{pad/naar/bestand}}`
|
|
@ -6,19 +6,19 @@
|
|||
|
||||
- Divide um arquivo nas linhas 5 e 23:
|
||||
|
||||
`csplit {{arquivo}} {{5}} {{23}}`
|
||||
`csplit {{arquivo}} 5 23`
|
||||
|
||||
- Divide um arquivo a cada 5 linhas (este comando irá falhar se o total de linhas do arquivo não for divisível por 5):
|
||||
|
||||
`csplit {{arquivo}} {{5}} {*}`
|
||||
`csplit {{arquivo}} 5 {*}`
|
||||
|
||||
- Divide um arquivo a cada 5 linhas, ignorando o fato do total de linhas ser divisível por 5:
|
||||
|
||||
`csplit -k {{arquivo}} {{5}} {*}`
|
||||
`csplit -k {{arquivo}} 5 {*}`
|
||||
|
||||
- Divide o arquivo na linha 5 e utiliza um prefixo específico para os arquivos de saída:
|
||||
|
||||
`csplit {{arquivo}} {{5}} -f {{prefix}}`
|
||||
`csplit {{arquivo}} 5 -f {{prefix}}`
|
||||
|
||||
- Divide um arquivo na linha que atenda a expressão regular:
|
||||
|
||||
|
|
|
@ -6,19 +6,19 @@
|
|||
|
||||
- Split a file at lines 5 and 23:
|
||||
|
||||
`csplit {{path/to/file}} {{5}} {{23}}`
|
||||
`csplit {{path/to/file}} 5 23`
|
||||
|
||||
- Split a file every 5 lines (this will fail if the total number of lines is not divisible by 5):
|
||||
|
||||
`csplit {{path/to/file}} {{5}} {*}`
|
||||
`csplit {{path/to/file}} 5 {*}`
|
||||
|
||||
- Split a file every 5 lines, ignoring exact-division error:
|
||||
|
||||
`csplit -k {{path/to/file}} {{5}} {*}`
|
||||
`csplit -k {{path/to/file}} 5 {*}`
|
||||
|
||||
- Split a file at line 5 and use a custom prefix for the output files:
|
||||
|
||||
`csplit {{path/to/file}} {{5}} -f {{prefix}}`
|
||||
`csplit {{path/to/file}} 5 -f {{prefix}}`
|
||||
|
||||
- Split a file at a line matching a regular expression:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue