blog.erben.sk

Just another sysadmin blog

blog.erben.sk

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About

Category Archives: bash

Replacing vCenter Server Appliance SSL certificates

Posted on January 27, 2015 by iwik
1

vCenter and SSL is always a pain. Simple thing as replacing default self-signed SSL certificates with CA signed has in official VMWare KB2057223 40(!!!) steps. Continue reading →

Posted in bash, vsphere | 1 Reply

How to get the first day of last month, and the last day of last month in bash

Posted on February 19, 2010 by iwik
Reply


DATE_FROM=`date -d "-1 month -$(($(date +%d)-1)) days" "+%F"`
DATE_TO=`date -d "-$(($(date +%d)-1)) days" "+%F"`

Posted in bash, linux | Tagged bash, date | Leave a reply

Blogroll

  • My Facebook profile
  • Personal Site
  • Work photoalbum
  • ZaZeZi

Categories

  • asterisk
  • bash
  • centos
  • debian
  • dns
  • dovecot
  • esxi
  • geoip
  • haproxy
  • linux
  • postfix
  • scripts
  • storage
  • uncategorized
  • vpn
  • vsphere
  • webmin
  • zabbix

Archives

  • March 2022
  • November 2021
  • December 2020
  • September 2020
  • August 2020
  • July 2020
  • February 2020
  • December 2019
  • August 2019
  • April 2019
  • January 2019
  • July 2018
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • June 2014
  • May 2014
  • February 2014
  • January 2014
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • June 2012
  • May 2012
  • December 2011
  • August 2011
  • July 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • November 2010
  • September 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
Proudly powered by WordPress