http://www.unix.com/showthread.php?t=60065
With bash and ksh, use the the following conditional expressions :
Code:
[[ file1 -nt file2 ]] [[ file1 -ot file2 ]]
Read the man pages for more informations.
'Unix/Linux' 카테고리의 다른 글
Understanding init scripts (0) | 2014.03.04 |
---|---|
How To Configure Static IP On CentOS 6 (0) | 2013.12.31 |
How to disable sendmail so that it won't get started up? (0) | 2013.11.21 |
How To: UNIX Add A User To A Group (0) | 2013.11.21 |
The UNIX Encrypted Password System (0) | 2013.11.15 |