User Tools

Site Tools


geek:cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
geek:cli [2019/10/23 21:43]
neil [Certificate Expiry]
geek:cli [2019/12/28 18:54]
neil
Line 34: Line 34:
 openssl x509 -enddate -noout -in cert.pem ​ openssl x509 -enddate -noout -in cert.pem ​
 </​code>​ </​code>​
 +
 +===== Journalctl =====
 +I'm so used to using init.d I can't keep these instructions in my head, so they'​re written here until I remember them.
 +=== Listing all available services ===
 +<code bash>​systemctl --list-units</​code>​
 +=== Getting logs for a particular service ===
 +<code bash>​journalctl -u sshd</​code>​
geek/cli.txt ยท Last modified: 2019/12/28 19:15 by neil