fold: add page; log: add Italian translation (#10039)

* log: add Italian translation

* fold: add page

* Update fold.md

fix typo

* Update fold.md

* Update pages/linux/fold.md

Co-authored-by: Seth Falco <seth@falco.fun>

* Update pages/linux/fold.md

Co-authored-by: Seth Falco <seth@falco.fun>

* Update pages/linux/fold.md

Co-authored-by: Seth Falco <seth@falco.fun>

* Update pages.it/osx/log.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/linux/fold.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/linux/fold.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/linux/fold.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/linux/fold.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Apply suggestions from code review

---------

Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Magrid 2023-05-14 15:27:15 +02:00 committed by GitHub
parent a0a0fa81cd
commit ae55985c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

20
pages.it/osx/log.md Normal file
View File

@ -0,0 +1,20 @@
# log
> Visualizza, esporta e configura i sistemi di log.
> Maggiori informazioni: <https://www.dssw.co.uk/reference/log.html>.
- Mostra i log di sistema in diretta:
`log stream`
- Mostra i log mandati a `syslog` da processi con un PID specifico:
`log stream --process {{ID_processo}}`
- Mostra i log mandati a `syslog` da processi con un nome specifico:
`log show --predicate "process == '{{process_name}}'"`
- Esporta sul disco tutti i log dell'ultima ora:
`sudo log collect --last {{1h}} --output {{percorso/del/file.logarchive}}`

16
pages/linux/fold.md Normal file
View File

@ -0,0 +1,16 @@
# Fold
> Folds long lines for fixed-width output devices.
> More information: <https://manned.org/fold>.
- Fold lines in a fixed width:
`fold --width {{width}} {{path/to/file}}`
- Count width in bytes (the default is to count in columns):
`fold --bytes --width {{width_in_bytes}} {{path/to/file}}`
- Break the line after the rightmost blank within the width limit:
`fold --spaces --width {{width}} {{path/to/file}}`