Skip to main content

in1.lt – All in one about IT

check

How to find expiry date of SSL certificate [linux]

2017-08-28 gintautas

How to easily check whether the certificate has expired or not.

My bash command
You can use, all dates (creating and expiring):

openssl x509 -enddate -noout -in /etc/pki/tls/certs/localhost.crt

(more…)

Read More

One Liner Command to Check If Linux Process is Running

2015-11-272015-11-27 gintautas

I would like to share one liner command to check if a Linux process is running. Below is the one liner command and you can replace “sendmail” to any process you want to check: –

chkdaemon="sendmail" ; ! pgrep $chkdaemon >/dev/null && echo "$chkdaemon not running" || echo "$chkdaemon is running"

I will be sharing more useful commands. Thank you and have fun.

Read More

Categories

  • Be kategorijos
  • Linux
  • Websites
  • Windows

Archives

  • February 2021
  • December 2020
  • September 2020
  • June 2020
  • April 2020
  • February 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • January 2018
  • December 2017
  • November 2017
  • August 2017
  • April 2017
  • September 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015

Recent Posts

  • firewalld – managing firewall from command line
  • Cockpit – remote management tools
  • How to install qbittorrent-nox [Note]
  • Install Samba on Raspberry PI
  • Raspberry Pi Media Server – MiniDLNA

Tags

apache app backup bash centos certificate check color console cron disable file generate glassfish grub httpd java kernel linux log mariadb mobile monitor mysql openssl postfix PostgreSQL PowerShell programs raspberry remove restore script selinux shutdown sleep ssh ssl statistics terminal theme torrent ubuntu windows windows 10

Reklama

Interneto svetainių kūrimas ir priežiūra | Skelbimai | Pakeleiviai
sparkling Theme by Colorlib Powered by WordPress