The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
if [ -s $File ] ; Whats wrong in this ??
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
if [ -s $File ] ; Whats wrong in this ??
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
08-20-2007
robotronic
Can I play with madness?
Join Date: Apr 2002
Location: Italy
Posts: 370
Why are you putting a dollar before the pathname in the if statement? Try:
Code:
if [ -s "/clocal/mqbrkrs/user/mqsiadm/sanjay/temp" ]
robotronic
View Public Profile
Find all posts by robotronic