nixCraft 🐧 on Nostr: See, that is why Redhat and Mr. Poettering have introduced all in one systemd command ...
Published at
2024-02-14 20:40:05Event JSON
{
"id": "5a03a514c902b64468765ff7d95d1106f1f914866c95065f2d208693f876280a",
"pubkey": "cc3790930722bfa73e28f9a2aa0832706884305cb80687e20927c7960db99185",
"created_at": 1707939605,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/nixCraft/statuses/111931529989808028",
"activitypub"
]
],
"content": "See, that is why Redhat and Mr. Poettering have introduced all in one systemd command that does grep and limiting output in a single go for a given service log. How cool is that? You guys hate systemd for no good reason 🤭\n```\njournalctl -u nginx.service -g failed -n 10\n```\n\nAlso see Linux file log and how to access them https://www.cyberciti.biz/faq/linux-log-files-location-and-how-do-i-view-logs-files/ for more info\n\nhttps://files.mastodon.social/media_attachments/files/111/931/514/969/108/569/original/5436225da68f4edc.png",
"sig": "e2c34ff99d9f5bbf5715b548dea4d11e90d2b5a760df91ac429d6857b8d207ece814fc75b71c61a264956e61af9c5c233620e23d330c22b874ebd3f3376b1e85"
}