5

[SOLVED] df script not working

view full story
linux-howto

http://www.linuxquestions.org – Hi guys, I have a script that checks disk usage and emails if it is low but it keeps returning this error: Use of uninitialized value in concatenation (.) or string at ./df.pl line 17. tail: cannot open `+2' for reading: No such file or directory Use of uninitialized value in addition (+) at ./df.pl line 20. Use of uninitialized value in addition (+) at ./df.pl line 20. Use of uninitialized value in division (/) at ./df.pl line 20. Illegal division by zero at ./df.pl line 20. Here's the script: Code: #!/usr/b (HowTos)