The features to create your script


Change the Language :
(This paragraph exist because your web browser has disabled JavaScript.)







Choose your Template :

Comments
Original author = Sylvain HORRIERE
description =
For each line in the file input, get the webserver and check the urls
Preview Template_getops-functs-readfile.sh


Comments
Original author = silfun1
description
This template give an example of two arguments given to a script, with a getops loop that check and get the varibales
2 functions exists: one is the usage and the other named backup (create a backup copy of a file)
A check if done to see if the arguments are empty or not. If the second argument (target file) is still empty, we create the target filename automatically
Preview script_functions_1.sh


Comments
Original author = silfun1
description
Template with one variable named VAR1, that get value form an argument given to the script
There is a check to see if there is the argument and if the variable is not empty
Preview script_one_argument.sh


Comments
Source = https://github.com/RenatGilmanov/shell-script-template/blob/master/getopts/template-getopts.sh
Original author = RenatGilmanov

Description
This template include an example of the getops loop

Preview template-getopts.sh


Comments
Source = https://github.com/RenatGilmanov/shell-script-template/blob/master/shflags/template-shflags.sh
Original author = RenatGilmanov
description
This template show us an example of the shflags usage
Preview template-shflags.sh


Comments
Original author = Sylvain H.
description
This template give an example of severals arguments given to a script, with a getops loop and shift keywords. It check and get the varibales
Usage function
A check if done to see if the arguments are empty or not.
A lot of checks are done to be sure that the variables contains good values.
A log file is created to have a trace.
#
#
Preview template_Eric-Hache.sh


Comments
Source = https://linuxtidbits.wordpress.com/2012/01/20/bash-script-templates/
Original author = Todd Partridge (Gently)

Description
This template show us a usage of the colors in bash

Preview zcolor_bash_template.sh







Last modification done on 2023-08-23 17:26:53 by anonymous


Version of the scriptVersions of this script

Name of the scriptName of this script

Expiration of the scriptExpiration of the script

This script won't expire

Keys for the editorKeys-Bindings for the editor


Package InformationPackage Information