Skip to content

Reading a script before you run it

routinepar 2 commands

Read it before you run it

The documentation says curl -fsSL https://example.test/install.sh | sh. Do it the other way round: save the script, then report how many of its lines contain rm -rf.

Goal

0 / 2 commands

The install line is curl -fsSL https://example.test/install.sh | sh. Do it the other way round: save the script to install.sh instead, then print how many of its lines contain rm -rf.

  • ·Uses curl
  • ·Does not use sh
$

The files in the sandbox, with their modes, link counts and sizes
ModeLinksSizeName
-rw-r--r--18notes.txt