#!/bin/bash file=$(date +"%Y-%m-%d").txt if [ ! -f $file ] then cp skeleton $file fi vi $file