Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old May 18th, 2007, 09:04 PM
punchthemonkey9's Avatar
punchthemonkey9 punchthemonkey9 is offline
Jeenyus
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: New Jersey
Posts: 92 punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 2 h 23 m 7 sec
Reputation Power: 12
Send a message via AIM to punchthemonkey9
Shell - Writing conditionals with BASH

I am writing a simple BASH script to start a server with certain perameters. I was wondering if there was any way to use "and" and "or" statements in conditionals, and what the syntax is. I've looked everywhere, but couldn't find anything.

Thanks.

Reply With Quote
  #2  
Old May 19th, 2007, 02:05 AM
ghostdog74 ghostdog74 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 95 ghostdog74 User rank is Private First Class (20 - 50 Reputation Level)ghostdog74 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 18 h 34 m 6 sec
Reputation Power: 3
you can look here first

Reply With Quote
  #3  
Old May 19th, 2007, 07:01 AM
punchthemonkey9's Avatar
punchthemonkey9 punchthemonkey9 is offline
Jeenyus
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: New Jersey
Posts: 92 punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level)punchthemonkey9 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 2 h 23 m 7 sec
Reputation Power: 12
Send a message via AIM to punchthemonkey9
I looked there, and I couldn't find anything on "and" and "or".

EDIT: Nevermind, found it, thanks.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Shell - Writing conditionals with BASH


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway