Skip to content

Tutorial KartTutorialKart

×
C++ Java PHP Python Kotlin Swift JavaScript Golang
  • Bash Shell Scripting
  • Bash Tutorial
  • Bash Script Example
  • Bash Echo
  • Bash Comments
  • Bash Variables
  • Bash Operators
    • Bash Arithmetic Operators
      • Bash Addition
      • Bash Subtraction
      • Bash Multiplication
      • Bash Division
      • Bash Modulo
      • Bash Increment
      • Bash Decrement
    • Bash Logical Operators
      • Bash AND
      • Bash OR
      • Bash NOT
    • Bash Comparison Operators
      • Bash Equal
      • Bash Not-Equal
      • Bash Greater-than
      • Bash Less-than
      • Bash Greater-than or Equal-to
      • Bash Less-than or Equal-to
    • Bash Arithmetic Expansion
  • Bash Date and Time
    • Bash – Get current date and time
    • Bash – Date format
    • Bash – Get current year
    • Bash – Get current month
    • Bash – Get current weekday
    • Bash – Get current hour
    • Bash – Get current minutes
    • Bash – Get current seconds
  • Bash Sleep
  • Bash Conditional Statements
    • Bash If
    • Bash If Else
    • Bash Elif
    • Bash Case
    • Bash If AND
    • Bash If OR
    • Bash If NOT
  • Bash Loops
    • Bash For Loop
    • Bash While Loop
    • Bash Until Loop
  • Bash Functions
    • Bash - Override builtin commands
  • Bash Strings
    • String Basics
    • Bash – Initialize a string
    • Bash – Print string to console
    • Bash – String length
    • String Checks
    • Bash – Check if string is empty
    • Bash – Check If string equals another string
    • Bash – Check if strings are equal ignoring case
    • Bash – Check if string contains substring
    • Bash – Check if string starts with specific prefix
    • Bash – Check if string ends with specific suffix
    • Bash – Check if string starts with uppercase alphabet
    • Bash – Check if string starts with lowercase alphabet
    • Bash – Check if string contains only uppercase alphabets
    • Bash – Check if string contains only lowercase alphabets
    • Bash – Check if string contains only alphabets
    • Bash – Check if string contains only alphanumeric
    • Bash – Check if string contains only numeric
    • Character Level Programs
    • Bash – Get character at specific index in string
    • Bash – Get first character in string
    • Bash – Get last character in string
    • Bash – Iterate over characters in string
    • Bash – Print unique characters in string
    • Bash – Remove character at specific index in string
    • Bash – Remove first character in string
    • Bash – Remove last character in string
    • Bash – Remove all occurrences of specific character in string
    • String Transformations
    • Bash – Convert string to lowercase
    • Bash – Convert string to uppercase
    • Bash – Concatenate strings
    • Bash – Compare strings
    • Bash – Split string
    • Bash – Substring
    • Bash – Concatenate variables to strings
    • Bash – Reverse string
    • Bash – Replace substring in string
    • String Find Operations
    • Bash – Find number of occurrences of search string in a string
    • Bash – Find index of substring in a string
    • Bash – Find index of last occurrence of substring in a string
    • Stirng Split Operations
    • Bash – Split string
    • Bash – Split string by comma
    • Bash – Split string by single space
  • Bash Arrays