UsiScript
Change the Language :
bash
powershell
python
yaml
json
jinja2
text
linux (bash)
windows (powershell)
Choose your Template :
Template_getops-functs-readfile.sh
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
script_functions_1.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
script_one_argument.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
template-getopts.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
template-shflags.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
template_Eric-Hache.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
zcolor_bash_template.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
Allow me to explain something nearly all septic companies will not: there are two kinds of people in this world. Those who assume septic systems are simply "subterranean tanks for waste," and those who have had raw sewage bubbling into their yard at 2 AM. I discovered this reality the difficult way in 2005—standing in sludge, freezing in a Washington rainstorm, as my siblings and I assisted a veteran installer restore our family's failed system. I was fourteen. My hands ached. My pants were ruined. But that evening, something crystallized: This isn't just digging. It's families' lives we're safeguarding. Let me share the harsh truth: the majority of septic companies just pump tanks. They act like quick-fix salesmen at a demolition convention. But Septic Solutions? They're unique. It all began back in the early 2000s when Art and his family—just kids hardly tall enough to shoulder a shovel—aided install their family's septic system alongside a weathered pro. Visualize this: three kids knee-deep in Pennsylvania clay, discovering how soil absorption affects drainage while their peers played Xbox. "We never just dig trenches," Art shared with me last winter, steaming coffee cup in hand. "We learned how ground whispers truths. A patch of cattails here? That's Mother Nature shouting 'high water table.'" https://hive.blog/hive-178708/@praditya/the-progress
Last modification done on 2026-01-09 17:14:55 by anonymous
Download
Download the script
Download as ZIP
Download as TXT
Versions of this script
The last version
Version 1
Version 2
Version 3
Version 4
Version 5
Version 6
Version 7
Version 8
Version 9
Version 10
Version 11
Version 12
Version 13
Version 14
Version 15
Version 16
Version 17
Version 18
Version 19
Version 20
Version 21
Version 22
Version 23
Version 24
Version 25
Version 26
Version 27
Version 28
Version 29
Version 30
Name of this script
Expiration of the script
This script won't expire
No limit
7 days
15 days
30 days
90 days
180 days
Keys-Bindings for the editor
Ctrl-F / Cmd-F
Start searching
Ctrl-G / Cmd-G
Find next
Shift-Ctrl-G / Shift-Cmd-G
Find previous
Shift-Ctrl-F / Cmd-Option-F
Replace
Shift-Ctrl-R / Shift-Cmd-Option-F
Replace all
Alt-F
Persistent search (dialog doesn't autoclose, enter to find next, Shift-Enter to find previous)
Alt-G
Jump to line
Hide this paragraphe
Package Information
Path of this script inside the package
This script is in a "AllInOne" format file
Open package
Hide this paragraphe