The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Simple Script
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Simple Script
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-11-2008
yongitz
Registered User
Join Date: Apr 2008
Location: Philippines
Posts: 20
When variables are used, they are referred to with the "$" symbol in front of them, so in your test it should be
Code:
if test $A -gt $B
yongitz
View Public Profile
Find all posts by yongitz