bash Script

From GM-RKB
(Redirected from bash Shell Program)
Jump to navigation Jump to search

A bash Script is a Shell Script Program composed of bash Commands.



References

2015

#!/bin/bash
name=$1
log_file="Logone.txt"
if -n "$name"; then
   echo "$1=$( date +%s )" >> ${log_file}
else
   echo "argument error"
fi