2013年1月4日 - bin/bash read -p "Date (format yy-mm-dd-HH-MM-SS): " input check=$(date +"%Y -%m-%d-%H:%M:%S") if [ $input .... How do I prompt for input in a Linux shell script?
stackoverflow.com