How could this be bad? Take a classmate's script example, it went something like this:
Code: Select all
#!/bin/bash
#todo: error checking
mv $1/* .
[code]
Guess what happens if you just execute the script with no parameters?
Within the end of the period, I managed to restore his system and get it booting up again.
[color=#888888][size=85]Archived topic from Iceteks, old topic ID:4676, old post ID:37185[/size][/color]