Computing.Net > Forums > Unix > variables in unix

variables in unix

Reply to Message Icon

Original Message
Name: giuliano
Date: September 16, 2003 at 08:11:40 Pacific
Subject: variables in unix
OS: Unix
CPU/Ram: ?
Comment:

Hi,
I heard about variable in unix. Who could explain what they are and what for are they used to? Any simple example?
Thanks
Giuliano


Report Offensive Message For Removal

Response Number 1
Name: David Perry
Date: September 17, 2003 at 05:18:47 Pacific
Subject: variables in unix
Reply: (edit)

var1=5
var2=`ls | wc -l`
if [ $var1 -gt $var2 ] ; then


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: variables in unix

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software