Search found 1 match

by Babbleshack
Mon Jul 22, 2013 12:29 pm
Forum: Scripts & Bash
Topic: How to write a Bash shell script - by example
Replies: 43
Views: 57392

Re: How to write a Bash shell script - by example

:P excellent, I made the script include the extra comments. great bit of code thanks much! :mrgreen: NOW=$(date +"%Y-%m-%d") if [ -n "$1" ] then echo "#!/bin/bash # Purpose: # Usage: # Author: Babbleshack # Date: ${NOW} # Version: # Disclaimer: " > $1 chmod 700 "$1" echo FILE $1 is now an executable...

Go to advanced search