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

What does >> do here?

echo "deploy done" >> deploy.log
  1. Appends the line to deploy.log
  2. Replaces deploy.log's contents
  3. Reads input from deploy.log
  4. Sends errors into deploy.log
>> appends to the end of the file (creating it if needed), while > truncates it first.
Play Linux CLI ▸