HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to BashNumbers & ArithmeticStringsArraysConditions (if)Loops (for / while)Functions
REFERENCE
📖 Overview
🖥️ Output & Input
📦 Variables
🔢 Numbers & Arithmetic
✍️ Text
📋 Array
🔁 Condition & Loop
🧩 Functions & Pipes
Bash›REFERENCE

Bash — Command Reference

Bash's most used commands — the language of shell scripts and automation. Each comes with an explanation and a working example.

7 categories · 13 commands

🖥️

Output & Input

Printing with echo and reading with read.

echoread
2 commands →
📦

Variables

Variable definition and expansion.

variableCommand substitution $( )
2 commands →
🔢

Numbers & Arithmetic

Arithmetic operations.

$(( )) arithmetic
1 commands →
✍️

Text

Text length, uppercase, and substring extraction.

Length & uppercaseSubtext & replacement
2 commands →
📋

Array

Arrays and their elements.

Array
1 commands →
🔁

Condition & Loop

Decision making and repetition.

if / test [ ]forwhile
3 commands →
🧩

Functions & Pipes

Functions and command chaining.

FunctionPipe ( | )
2 commands →
HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code