본문 바로가기

OS/Linux

bash 스크립트 날지 시간 출력

#!/bin/sh

 

timestamp=`date +%Y%m%d%H%M`

 

echo "$timestamp"