UsiScript
The features to create your script
Change the Language :
(This paragraph exist because your web browser has disabled JavaScript.)
bash
powershell
python
yaml
json
jinja2
text
linux (bash)
windows (powershell)
Tests
Select the If Tests
No Action
File Exist
Dir Exist
Variable not Empty
Test If without condition
Create it if not exist
Add this block after the line
File / Dir name :
Througt a variable :
Name of Variable that contains the file/directory's name
Or
trought an hard coded path :
Name of your file (or directory path
Variable Empty
Variable's name
Value by default if the value tested is empty/null
Ask for input
Variable / Input
Create a Variable
Create a Variable
( and initialize it
)
Ask for input
Add this line after the line
Create a Variable from a command result
Variable's name
The command
)
Add this line after the line
Loops
Select the loops :
No Action
While
For (classic)
For outputs cmd
For list of objects (numbers, characters, names)
For files in folder
Until
Condition of your loop :
Add this block after the line
Arguments
Select the style of arguments :
No Action
[Linu/Pyth]-while getopts "abcxyz" do + case loops
[Linux]-while $# do loop + case $opt
[Win]-param(abc,)
if ( args )
Add this block after the line
Functions
Select the type of function :
No Action
Without argument
With argument
Usage
The function name
Add this block after the line
Array
Select the block :
No Action
Create a simple array (1 dimension)
Update a simple array (add or modify)
Delete a simple array (remove an element or the all array)
Print all the elements in an array (or just one)
Add this block after the line
Array 2 Dimensions
Select the block :
No Action
Create an array with 2 dimensions
Update a 2 dimensions array
Delete an array (2 dimensions)
Print all the elements in an array that have 2 dimensions
Add this block after the line
useful pre-built blocks - Simple
Select the block :
No Action
read a text file
Browse folder
Create a file
Create a file (using EOF keyword)
Switch-case
Check result of last cmd
Check cmd exist
Add this block after the line
useful pre-built blocks - Advanced
Select the block :
No Action
Get OS
Install Package
Check Connection Web/DNS
Add this block after the line
useful pre-built blocks - InLine
Select the block :
No Action
If
For
While
Add this block after the line
Add this after the line (Default parameter if not specified below)
(Value 0 mean at the end of the script)
Your script
Download
Download the script
Download as ZIP
Download as TXT
Versions of this script
The last version
Name of this script
No name for the moment
Expiration of the script
This script won't expire
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
UsiScript
UsiScript
UsiScript
Create shell script online. This tool help you to buit administration script. Its quicker and easier. Add to this you can manage your shell script after and share them or work with collegues for collaborative work.