Skip to content

Custom Unix shell scripts for file manipulation, program execution, and printing text.

License

Notifications You must be signed in to change notification settings

90zlaya/shell-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Scripts

Custom Unix shell scripts for file manipulation, program execution and printing text.

Table of Contents

You can jump to list of available scripts if you don't need introduction.

How to Use

Clone this repository to have it on your machine (in locale).

# Clone repository
git clone https://github.com/90zlaya/shell-scripts.git

Enter into cloned directory and mirror source folder.

# Enter into root directory
cd shell-scripts/

# Mirror src directory
cp -R src/ deploy/versions/[current-version]

It's recommended to keep name deploy for this copy as it was ignored by .gitignore.
This will allow you to git pull newest version of this repository without overwriting your updates to scripts.

Navigate to the mirrored folder and edit script to meet your requirements.

# Enter mirrored directory
cd deploy/versions/[current-version]

# List all shell scripts
ls -al *.sh

# Open script to have it updated
nano [script-name].sh

When you're done editing script, save it and you are able to run it.

# Run script
bash [script-name].sh

For more information on how to use specific script check list of available scripts.

⬆ back to top

Recommendations

You can create alias for certain script:

# Create alias
alias [alias-name]="[command]"

# Get help how to use script you aliased
[alias-name] -h

Replace [alias-name] with your alias and [command] with full path to your script (presumably [installation-path]/shell-scripts/deploy/versions/[current-version]/[script-name].sh).

⬆ back to top

After Installation

Make sure to check if there's new version of this repository. It's being updated and maintained on a regular basis. Any help in terms of development and suggestions will be warmly welcomed.

⬆ back to top

About

Custom Unix shell scripts for file manipulation, program execution, and printing text.

Topics

Resources

License

Stars

Watchers

Forks

Languages