Git Product home page Git Product logo

shell-scripting's Introduction

Shell ๐Ÿš

In Linux & Unix-like operating systems, a shell is a command-line interpreter that acts as an intermediary between the user & the operating system. It provides an interface for users to interact with the system by executing commands, running programs, & performing various tasks through a text-based interface.

When you type a command into a shell prompt & press Enter, the shell interprets that command, executes it, & displays the output. Additionally, shells offer features such as command history, tab completion, & scripting capabilities, enabling users to perform tasks efficiently.

The shell comes in many flavours

UNIX, Linux, Mac OS

  • sh (Bourne Shell), ksh (Korn Shell), csh (C Shell), zsh (Z Shell) & many more.
  • Bash (Bourne Again Shell) is most popular.
  • Zsh is default on Mac.

Windows

  • CMD, PowerShell.
  • Linux subsystem runs bash/zsh.

Zsh (Z Shell)

  • Zsh is known for its highly interactive use & provides advanced features for command-line editing & customization.
  • It is highly extensible & supports plugins & themes through frameworks like Oh My Zsh, which make it easy to customize & enhance.

Shebang

The shebang, also known as a hashbang, is a special character sequence at the beginning of a script file in Unix-like operating systems. It is used to specify the interpreter that should be used to execute the script.
The shebang consists of the characters #! followed by the path to the interpreter executable. For shell scripts, the shebang typically specifies the path to the shell interpreter, such as Bash or sh.

shell-scripting's People

Contributors

dry5kulll avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.