mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
29 lines
2.0 KiB
Markdown
29 lines
2.0 KiB
Markdown
---
|
||
title: "shell scripting"
|
||
tags :
|
||
- 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.
|
||
- [The Shell Scripting Tutorial](https://www.shellscript.sh/)
|
||
-
|
||
- Terminal
|
||
- Unix
|
||
- Linux
|
||
- [[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 Bash’s powerful features such as arithmetic, array variables, loops, and branches that are not available in Command Prompt.
|
||
## alternatives
|
||
- The Bourne Shell: 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 $](https://www.techtarget.com/searchdatacenter/definition/shell-script)
|
||
- The C Shell. These are scripts written for the csh shell, which is a command-line interpreter that has features similar to the C programming language. [The character for prompting a C shell is %](https://www.techtarget.com/searchdatacenter/definition/shell-script)
|
||
- The Korn Shell
|
||
- The GNU Bourne-Again Shell
|
||
## 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)](https://doc.stride3d.net/latest/en/manual/scripts/types-of-script.html) |