skip to content
Ivan's wiki
Site Tools
Search
Tools
Show pagesource
Backlinks
Recent Changes
Media Manager
Sitemap
>
Recent Changes
Media Manager
Sitemap
shell
This page is read only. You can view the source, but not change it.
# Shell **Shell** is a command interpreter that lets you run programs and orchestrate them. Type commands in the terminal, chain programs via pipes, redirect input/output, and run jobs in the background. The shell parses what you type, finds the program, passes arguments, and handles environment variables. The most popular shell on [GNU/Linux](/gnu-linux) is Bash. Other shells include sh (POSIX standard), zsh, and fish. All shells follow similar principles but differ in syntax and built-in features. Scripts written for POSIX sh work across shells; Bash-specific features like associative arrays do not. ```bash $ echo "Hello, world" # run a command $ ls -la /tmp | grep config # pipe output to another command $ ./script.sh & # run in background $ VAR=value ./program # set environment variable ``` The shell is also a programming language. You can write scripts (shell files) with variables, conditionals, loops, and functions to automate tasks. ## Concepts 1. [Basics](/shell-basics) 2. [Control flow](/shell-control-flow) 3. [Functions](/shell-functions) 4. [I/O and redirection](/shell-io) 5. [Advanced features](/shell-advanced-features) 6. [File operations](/shell-file-operations) 7. [Process management](/shell-processes) 8. [Best practices](/shell-best-practices)
Page Tools
Show pagesource
Backlinks
Back to top