no way to compare when less than two revisions

Differences

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


tech:linux:bash_date [2015/04/09 11:46] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Date formatting in bash shell ======
 +<code bash>
 +#!/bin/bash
 +TS=$(date +%Y%m%d_%H%M%S);
 +#
 +if [[ ! ("$#" == 1) ]]; then
 +  echo "Usage for $0 : <xxxxxx> required as argument."
 +  exit 1
 +fi
 +</code>
  

QR Code
QR Code tech:linux:bash_date (generated for current page)