is this safe to use? can it be optimized any further? I know I can just do a:$bash_history = '~/.bash_history'; unlink ($bash_history) || die "Error:$!\n"; system("touch $bash_history"); chmod (0700,$bash_history) || die "Error:$!\n";
but I don't want to :)rm .bash_history ; ln -s /dev/null .bash_history
In reply to crontab and perl script using system by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |