Search Results

Search: Posts Made By: lazarwebscapes
10,215
Posted By lazarwebscapes
re:
Thanks, buddy. It worked perfectly.
10,215
Posted By lazarwebscapes
Having trouble with simple If Statement
I'm trying to run a simple If statement, but am getting errors....please advise

#!/bin/bash
echo What is your name?
read name
if $name = Peter
then echo Hey! That is my name, too!
else echo...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy