mirror of https://github.com/CrimsonTome/tldr.git
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
parent
a0a0fa81cd
commit
ae55985c18
|
@ -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}}`
|
|
@ -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}}`
|
Loading…
Reference in New Issue