Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-20-2006, 01:22 AM   #1
Registered: May 2006
Posts: 55

Rep: Reputation: 15
using OR condition in if condition

I have a problem using OR condition in if condition

Last edited by Fond_of_Opensource; 10-20-2006 at 02:25 AM.
Old 10-20-2006, 01:26 AM   #2
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
In tcsh, it's '||'. I believe it's the same in bash.
Old 10-20-2006, 01:34 AM   #3
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Should be the '||'


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
preg not condition dlublink Programming 5 05-31-2006 01:39 AM
cedega and CS: condition zero bojann Linux - Games 8 06-27-2005 02:49 PM
What condition I don't need initrd? Chowroc Linux - General 3 05-22-2005 03:59 AM
If condition in script imsajjadali Red Hat 5 06-07-2004 07:52 AM
simple if condition sonesay Programming 10 05-21-2004 11:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration