UsiScript - Your Script Factory
The features to create your script
Choose your Language :
Bash Linux
Powershell Windows
Python
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
useful pre-built blocks - Simple
Select the block :
No Action
read a text file
Browse folder
Create a file
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
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 for the editor
The keybindings, useful for search/replace words are:
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 it
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.