INFO

Provided a command line interface(Shell) for users to interact with the system, which runs in a terminal window

The Shell

  • bash and zsh are some examples
  • displays a shell prompt → always starts with a $ sign
  • User types command that the shell program executes
  • Shell operates similarly to REPL
  • Used to run programs, navigate file system, and manipulate files
$ whoami # returns the username
myusername

REPL

Stands for read-eval-print loop

  1. Reads the commands entered by the user
  2. Evaluate the command
  3. Performs the requested action or Prints out the result
  4. Return to the shell prompt