Skip to content

Commit

Permalink
add how bash process commands
Browse files Browse the repository at this point in the history
  • Loading branch information
samirm00 committed Mar 5, 2024
1 parent 4b18161 commit dabf0ab
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions 03-how-bash-process-commands/01.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
# Author: Samir M.
# Date: 2024-03-04
# Modified: 2024-03-04
# Description: Brace expansion
# Usage: ./01.sh
# Description: How bash processes command lines
# Usage: ./01.sh


# Bash goes through 5 steps to interpret a command line.

# Step 1: Tokenisation:
# The command line is broken into tokens. Tokens are the smallest units of a command line.
# Tokens are separated by metacharacters, such as spaces, tabs, and newlines, | ; & ( ) < >.

0 comments on commit dabf0ab

Please sign in to comment.