quartz/content/notes/shell scripting.md
2023-03-17 21:15:30 -05:00

2.0 KiB
Raw Blame History

title tags
shell scripting
scripting

basics

what's scripting: A shell script is a computer program designed to be run by the Unix/Linux shell which could be one of the following.

  • Shell: A shell script is a file that contains a sequence of commands that can be executed by a shell program. Shell scripts are often used for automation, scheduling, and customization of tasks in Linux and other operating systems.
  • Terminal
  • Unix
  • Linux

my favs

  • ZSH: Zsh is called Z Shell, which is an extension of Bash that has many new features and themes. Zsh was released in 1990 by Paul Falstad. Zsh has similarities with Korn shell as well. Linux and Mac OS use Bash as their default shell. Bash is the abbreviation of the Bourne-again shell.
  • Powershell
  • Git Bash:
    • You can access both Git and Bash features on Windows, which are native to macOS and Linux users
    • You can use Bashs powerful features such as arithmetic, array variables, loops, and branches that are not available in Command Prompt.

alternatives

Which I don't use

  • Bourne shell scripts: These are scripts written for the original sh shell, which is a command-line interpreter for Unix systems. The character for prompting a Bourne shell is $.

Types of script | Stride (stride3d.net)