$ ./guess_the_languageLinux CLI
Linux CLI · easy · #21

Where do the script's errors end up?

./build.sh > build.log 2>&1
  1. In build.log with normal output
  2. On the terminal only
  3. In a separate file named 2
  4. They are silently discarded entirely
> build.log sends stdout to the file, then 2>&1 points stderr at the same place.
Play Linux CLI ▸