1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 20:25:38 +03:00
systemd/shell-completion/bash
Jörg Sommer d9e15cbd18 journalctl: New option --cursor-file
The option cursor-file takes a filename as argument. If the file exists and
contains a valid cursor, this is used to start the output after this position.
At the end, the last cursor gets written to the file.

This allows for an easy implementation of a timer that regularly looks in the
journal for some messages.

    journalctl --cursor-file err-cursor -b -p err
    journalctl --cursor-file audit-cursor -t audit --grep DENIED

Or you might want to walk the journal in steps of 10 messages:

    journalctl --cursor-file ./curs -n10 --since=today -t systemd
2019-02-27 18:43:31 +01:00
..
bootctl bash-completion: bootctl: support set-default and set-oneshot 2018-12-14 01:26:52 +09:00
busctl bash-completion: busctl: add 'emit' command support 2019-02-06 13:30:53 +01:00
coredumpctl shell-completion: replace "gdb" verb with "debug" for coredumpctl 2018-08-20 09:43:44 +02:00
hostnamectl tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
journalctl journalctl: New option --cursor-file 2019-02-27 18:43:31 +01:00
kernel-install tree-wide: drop copyright lines for more authors 2018-06-22 16:39:45 +02:00
localectl tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
loginctl bash-completion: loginctl: suggest argument for --machine option 2018-12-14 02:22:40 +09:00
machinectl bash-completion: machinectl: suggest arguments for --verify and --format 2018-12-14 02:18:24 +09:00
meson.build meson: drop redundant messages 2018-07-10 23:24:39 -07:00
networkctl bash-completion: networkctl: 'list' and 'lldp' can take links 2018-01-10 23:17:41 +09:00
portablectl tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
resolvectl bash-completion: fix __get_interfaces() 2018-12-17 11:13:15 +09:00
systemctl.in bash-completion: systemctl: use --output=help to show suggestions 2018-12-14 02:33:21 +09:00
systemd-analyze Merge pull request #10221 from lucaswerkmeister/bash-completion 2018-12-18 14:53:58 +01:00
systemd-cat tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
systemd-cgls tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
systemd-cgtop tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
systemd-delta tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
systemd-detect-virt tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
systemd-nspawn bash-completion: fix __get_interfaces() 2018-12-17 11:13:15 +09:00
systemd-path Add SPDX license headers to shell completion scripts 2017-11-19 19:08:15 +01:00
systemd-resolve bash-completion: fix __get_interfaces() 2018-12-17 11:13:15 +09:00
systemd-run bash-completion: run: support recently added options 2018-12-14 03:18:33 +09:00
timedatectl bash-completion: support 'timedatectl show' 2018-06-21 10:47:51 +09:00
udevadm bash-completion: udevadm: support recently added options 2019-01-18 16:10:01 +01:00