bash Script

Revision as of 06:58, 7 January 2023 by Gmelli (talk | contribs) (Text replacement - "xam ple" to "xample")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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