Skip to content

A collection of Bash scripts from TecMint.com's tutorial

Notifications You must be signed in to change notification settings

iamcco/simple-bash-scripts

 
 

Repository files navigation

A collection of Bash scripts from TecMint.com's tutorial.

Getting Started

  1. Hello.sh: get a simple output
  2. Process.sh: execute more than one command in a script
  3. Interactive.sh: a simple but very much interactive script
  4. Special_Pattern.sh: draw a diamond pattern with dots(.)
  5. Colorfull.sh: provide you with the output of several colours
  6. Convertlowercase.sh: convert data either from the file or standard input to lowercase
  7. Encrypt.sh: encrypt a file/folder with password
  8. up.sh: move up a directory in shell script
  9. Randomfile.sh: create unique file/folder automatically with date and time stamp

System Administration

  1. DirectorySize.sh: output a specified directory's size
  2. Server-Health.sh: report server related information
  3. Disk-Space.sh: check if the disk space crosses the limit
  4. Collectnetworkinfo.sh: gather information related to server
  5. RemoteBackup.sh: backup a local file into a remote server

Math

  1. Addition.sh: perform addition of two numbers
  2. Substraction.sh: perform substraction of two numbers
  3. Multiplication.sh: perform multiplication of two numbers
  4. Division.sh: perform division of two numbers
  5. Simplecacl.sh: a simple calculator
  6. Table.sh: print table of any number
  7. EvenOdd.sh: check if a number input from standard input is odd or even
  8. Factorial.sh: generate the factorial of a number
  9. Armstrong.sh: check if a provided number is Armstrong or not
  10. Prime.sh: check if a number is prime or not
  11. Fibonacci.sh: test if a number being entered is a Fibonacci or not
  12. Decimal2Binary.sh: convert Decimal Number to Binary
  13. Binary2Decimal.sh: convert Binary Number back to decimal

About

A collection of Bash scripts from TecMint.com's tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%