bash Script
Jump to navigation
Jump to search
A bash Script is a Shell Script Program composed of bash Commands.
- Context:
- It can take bash Script Parameters.
- Example(s):
- Counter-Example(s):
- a Scala Script.
- a perl Script.
- awk Script.
- See: bash Shell.
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