[SunHELP] Sheel Script need

baki sunhelp at sunhelp.org
Thu Feb 1 03:56:54 CST 2001


i have a problem. What can i do is i find all files in a directory except
the last one
because it is active

#ls
tserver.010201.090430  tserver.010201.101801  tserver.010201.111441
tserver.010201.092518  tserver.010201.102716  tserver.010201.112505
tserver.010201.093847  tserver.010201.103633  tserver.010201.113526
tserver.010201.094908  tserver.010201.104549  tserver.010201.114441
tserver.010201.095929  tserver.010201.105505
tserver.010201.100846  tserver.010201.110420

tserver.010201.114441 is active file
so  we need the

tserver.010201.090430  tserver.010201.101801  tserver.010201.111441
tserver.010201.092518  tserver.010201.102716  tserver.010201.112505
tserver.010201.093847  tserver.010201.103633  tserver.010201.113526
tserver.010201.094908  tserver.010201.104549
tserver.010201.095929  tserver.010201.105505
tserver.010201.100846  tserver.010201.110420

HOW CAN I DO THIS?



More information about the SunHELP mailing list