wrong idea, this does nothing usefull
if=/dev/ram0 of=/dev/nullDon't mess with dd unless you know what are you doing, this is a potentially very dangerous command in the wrong hands. You'll need to run your perl script as root in any case, a double bad idea.
if you want to overwrite the ram with null values, you need to do THIS instead
if=/dev/null of=/dev/ram0Don't claim to me if you finish deleting your entire filesystem and personal files with dd by mistake.
In reply to Re: Adding DD Unix command in Perl
by pvaldes
in thread Adding DD Unix command in Perl
by asha_mail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |