Skip to content

Chakibceran22/Bash-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Bash Scripts Collection

A collection of automation scripts for streamlining development workflows, managing Git operations, and setting up development environments.

Overview

This repository contains various utility scripts that automate common development tasks across both Linux and Windows environments. These scripts help speed up repetitive tasks and standardize development workflows.

What's Inside

  • Git Automation: Scripts for common Git operations like commits, branch management, and repository maintenance
  • Development Setup: Quick installation and configuration scripts for development tools and environments
  • Package Management: Automated installation of frameworks like React, Node.js, and other development dependencies
  • System Utilities: Various helper scripts for file management and system configuration

Platform Support

  • Linux: Native bash scripts (.sh files)
  • Windows: Batch scripts (.bat files)

Each script comes in both formats, so you can use the appropriate version for your operating system.

Quick Start

  1. Clone this repository:
git clone https://github.com/Chakibceran22/Bash-Scripts.git
cd Bash-Scripts
  1. Make scripts executable (Linux only):
chmod +x *.sh
  1. Run the appropriate script for your platform:
# Linux
./script-name.sh

# Windows
script-name.bat

Adding Scripts to PATH

To run scripts from anywhere on your system:

Linux/macOS:

echo 'export PATH="$PATH:$(pwd)"' >> ~/.bashrc
source ~/.bashrc
# Then run: script-name.sh

Windows: Add the repository folder to your PATH environment variable through System Properties, or temporarily:

set PATH=%PATH%;C:\path\to\Bash-Scripts
# Then run: script-name.bat

Notes

  • Review scripts before running them in your environment
  • Some scripts may require additional dependencies
  • Test in a safe environment first
  • Scripts are provided as-is for educational and productivity purposes

Contributing

Feel free to fork, modify, and submit improvements. Make sure to test any changes across both Linux and Windows environments.

License

MIT License - feel free to use and modify as needed.