/bash_scripts

Collection of bash scripts and linux commands

Primary LanguageShell

Collection of useful bash scripts for nix systems.

Mount Disk

  • script: mount_disk.sh
  • Description: Automate external disk mounting in a linux
  • Keywords: "disk mount", "fstab", "automount", "disk format", "ext4"

Nix Tuning

  • script: nix_tuning.sh
  • Description: Parameter tuning for linux system for scaling
  • Keywords: "performance", "scale", "tuning"

Install Docker and related packages

  • script: docker.sh you_chosen_option
  • Description: Properly install/uninstall docker
  • Keywords: "docker", "docker-compose"

Install Tools

  • script: tools_install.sh you_chosen_option
  • Description: Script to install some useful tools via Docker or apt-get
  • Keywords: "mongodb", "elasticsearch", "redis", "neo4j", "nginx", "nginx_certbot"

GCP Firewall:

  • script: gcloud_firewall.sh your firewall rule name
  • Description: Add your dynamic ip to firewall rules in gcp

AWS Firewall:

  • script: aws_firewall.sh security group id security group rule id port number
  • Description: Add your dynamic ip to security group in aws

Directory Distribution

  • script: directory_split.sh
  • Description: Allows you split a large directory into smaller directories by size