Skip to content

CyberMantaRay/BashBalanceBeam

Repository files navigation

BashBalanceBeam

Playground for Linux Bash scripts (projects, experiments, & POCs)

Explore: Basics Operators Printf Regex VIM

Environment

  • Bash v5.0

Common Variables ‣

  • $BASH_VERSION ∙∙∙∙∙∙∙ $SHELL ∙∙∙∙∙∙∙ $PATH ∙∙∙∙∙∙∙ $HOME
  • Last executed command: $? (exit val) ∙∙∙∙∙∙∙ $! (pid)
  • $$ (shell pid) ∙∙∙∙∙∙∙ $_ (next item in pipeline)
  • $# (num args passed) ∙∙∙∙∙∙∙ $@ (arg array) ∙∙∙∙∙∙∙ $* (args string)

Tips

  • Shell scripts start with #! + location of shell, e.g. #!/bin/bash

Resources

Repos

About

Linux Bash notes, experiements, and POCs

Topics

Resources

Stars

Watchers

Forks

Languages