$ ./guess_the_languageLinux CLI
Linux CLI · hard · #51

What does this print?

# s.sh contains: echo $#
bash s.sh a "b c" d
  1. 3
  2. 4
  3. 2
  4. 0
$# is the number of arguments; the quoted "b c" counts as one, giving a, b c, d.
Play Linux CLI ▸