Skip to content

lucsaito/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bash-scripts

A collection of simple bash scripts.

Basic

  1. Hello, world!: It simply prints "Hello, world!" in the terminal
  2. Greetings, user!: A script that greets the user
  3. Simple calculator: A simple calculator of two numbers
  4. Count to 100!: The console will count from 1 to 100 for you
  5. Uppercase, lowercase...: The script will teach you how to change a string to uppercase, lowercase and capitalize it

Functions

  1. What day is today?: It prints which day of the week is today
  2. Square a number: A simple function that squares an integer

$RANDOM

  1. Random number: It outputs a random number from 1 to 1000
  2. Guess number: User should guess a number from 1 to 100

Reading files

  1. File reader: The script prints the file content line-by-line
  2. Multiple files reader: Prints the content of all files given by arguments

About

A collection of scripts written in bash

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages