IF Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi people,
I want to use the if command, but can't find any manual page for it.

I want to use it to run a command, and at present, I have:

if date -r $file +%V -lt $number; then
#statements
fi

But it won't work.

$file is a filename. How do I do this?

Cheers,

Chris Norman
<!-- chris.norman4 at ntlworld.com -->


[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux