Giter VIP home page Giter VIP logo

helloworld.sh's Introduction

BASH - Bourne Again Shell Bash logo

Before you start

What is Shell?

Shell is a type of computer program called a command-line interpreter that lets Linux and Unix users control their operating systems with command-line interfaces. Shells allow users to communicate efficiently and directly with their operating systems.

What is Bash?

Bash is a command-line interpreter that runs in a text window and allows the user to interpret commands to do various tasks. A Shell Script is a sequence of these commands contained within a single file. A Shell Script can be read and executed using Bash.

Difference between Bash and Shell

Bash is a command-line interpreter that runs in a text window and allows the user to interpret commands to do various tasks. A Shell Script is a sequence of these commands contained within a single file. A Shell Script can be read and executed using Bash.

Shell vs BASH vs PowerShell vs CMD - A. Yigit Ogun at Medium

graph LR
    A[Shell Environment] --> B["Bash (Bourne Again Shell)"]
    A --> C[PowerShell]
    A --> D["CMD (Command Prompt)"]

    subgraph "Bash (Bourne Again Shell)"
        B --> B1["Unix/Linux"]
        B --> B2["macOS"]
    end

    subgraph PowerShell
        C --> C1["Windows"]
        C --> C2["Cross-platform (PowerShell Core)"]
    end

    subgraph "CMD (Command Prompt)"
        D --> D1["Windows"]
    end

Hello World Program - Bash

#!/bin/bash

echo "Hello, World!"

How to run a Bash script?

  1. Make the script executable:
    chmod +x script.sh
  2. Run the script:
    ./script.sh

helloworld.sh's People

Contributors

appleboiy avatar

Stargazers

 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.