Reply to post: Have you considered...

Funny, that: Handy script for wiping directories is capable of wreaking havoc beyond a miscreant's wildest dreams

Flocke Kroes Silver badge

Have you considered...

#! /bin/bash -xe

# Prints each line of what will be executed after expansion but before execution

# Exit on any error outside a condition

# -x -e will not work: Everything after the second space is considered a single word

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon