Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4060

General Questions • The -g option with journalctl

$
0
0
hello,
How can we explain these commands outputs, which should normally be identical, at least from my point of view:

Code:

~$ journalctl -S "2026-01-01 11:00:00" -g 'sshd'......-- No entries --~$ journalctl -S "2026-01-01 11:00:00" --grep 'sshd'...-- No entries --~$ journalctl -S "2026-01-01 11:00:00" | grep -i  'sshd'........janv. 01 11:06:43 ldlc sshd-session[1314]: Received disconnect from 192.168.1.21 port 49136:11: disconnected by userjanv. 01 11:06:43 ldlc sshd-session[1314]: Disconnected from user mm 192.168.1.21 port 49136janv. 01 11:06:56 ldlc sshd-session[1586]: Starting session: shell on pts/0 for mm from 192.168.1.21 port 56838 id 0janv. 01 11:13:06 ldlc sshd-session[1633]: Starting session: shell on pts/1 for mm from 192.168.1.21 port 57534 id 0
Could this be a problem related to the system log? Or am I doing something wrong?

Statistics: Posted by mazda1 — 2026-01-01 10:39



Viewing all articles
Browse latest Browse all 4060

Trending Articles