The command-line can be powerful but it can also be risky, which is why it is never recommended to login as root for your day-to-day work. Sometimes the command line can catch you out if you're not careful. So for example rm -rf . /dir
instead of rm -rf ./dir
can have a completely different result to what you intended.
Here is a great command line joke I came across recently. Command-line Russian roulette:
`[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "Click"
Edit: Running any bash script you see is dangerous, the above script is worse than normal and can trigger a delete of your root file system
_Edit: The above is an example of a command line joke. Its not meant to be actually run.
Let's hear other peoples stories or command-line jokes.