LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-22-2014, 07:22 AM   #1
es131245
LQ Newbie
 
Registered: Mar 2014
Posts: 19

Rep: Reputation: Disabled
Shell Conditional Operator?


Doen shell Conditional Operator exist? I can't find it in google.
((true)?('if true'):('else'))

Last edited by colucix; 03-22-2014 at 08:25 AM. Reason: Disabled smiles in text
 
Old 03-22-2014, 08:00 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
So you went to google?

http://lmgtfy.com/?q=Shell+Conditional+Operator
 
  


Reply



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
Control flow problem using conditional ternary operator in C Blackened Justice Programming 6 06-25-2012 11:49 PM
Conditional editing of a file through Shell script Linuxahoy Linux - General 2 01-23-2012 04:45 AM
BASH script alphabetical conditional operator query. lupusarcanus Linux - Newbie 5 03-15-2010 03:14 AM
conditional operator in c archanac07 Linux - Software 2 02-24-2010 12:58 AM
question on shell scripting and multi-directional conditional branching jonhanna Linux - Newbie 11 01-09-2009 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 AM.

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