Giter VIP home page Giter VIP logo

shell-scripting's Introduction

Shell-Scripting

This Bash script provides a simple calculator, a password generator, and a digital watch. It allows users to perform arithmetic calculations, generate random passwords, and display the current time.

Usage

Calculator

  1. Run the script using bash calculator.sh.
  2. Follow the on-screen prompts:
    • Enter the first number.
    • Enter the second number.
    • Enter the arithmetic operation (+, -, *, /).
  3. The result of the calculation will be displayed.

Password Generator

  1. Run the script using bash calculator.sh.
  2. Follow the on-screen prompt:
    • Enter the desired length of the password.
  3. A random password of the specified length will be generated and displayed.

Digital Watch

  1. Run the script using bash digital_watch.sh.
  2. The current time will be continuously displayed in blue text.

Kick Start-Your-Day

  1. Run the script using StartTheDay.sh.
  2. This will kick start your day.
  3. Change the link if needed.

Example

Calculator

$ bash calculator.sh
Please enter the first number:
10
Please enter the second number:
5
Please enter the operation (+, -, *, /):
+
The result is: 15

Password Generator

$ bash calculator.sh
Welcome to simple password generator
Please enter the length of the password:
12
cW7vhQDqDCrz

Digital Watch

$ bash digital_watch.sh
12:34:56

Start Your day

$ bash StartTheDay.sh

Note

  • For the calculator, only integer numbers are supported.
  • For the password generator, the password length should be specified in integers. For secure passwords, consider using longer lengths.
  • The digital watch continuously displays the current time in blue text.
  • Hey! KickStart your day in style.

shell-scripting's People

Contributors

samyam81 avatar

Stargazers

 avatar  avatar  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.