feat: initial commit
This commit is contained in:
commit
649f66fbf1
19 changed files with 512 additions and 0 deletions
13
docs/linux/journalctl.md
Normal file
13
docs/linux/journalctl.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Journalctl
|
||||
|
||||
Follow logs live
|
||||
|
||||
```shell
|
||||
sudo journalctl -u sshd --follow
|
||||
```
|
||||
|
||||
Cleanup logs
|
||||
|
||||
```shell
|
||||
sudo journalctl --vacuum-size=1K
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue