HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  Log in  

Share | 
 

 Using command output with backquotes

Go down 
AuthorMessage
welan
Admin
avatar

Posts : 248
Join date : 2010-02-23
Age : 54
Location : snow drift in minnesota

PostSubject: Using command output with backquotes   Mon Mar 15, 2010 5:57 pm

The backquote (`), which is quite alien to most Windows users, is the key just below the top left hand side ESC key on your keyboard. This is a useful key to use when you want to use the standard output of a UNIX/LINUX command as part of another command.For example, if you want to output the results of an addition.

# expr 10 + 42
# 52


If you would like to make it fancier,

# echo “The sum is `expr 10 + 42`”
The sum is 52


and thank you for flying Penguin Air.

_________________
An expert is a man who tells you a simple thing in a confused way in such a fashion as to make you think the confusion is your own fault. 
Back to top Go down
 
Using command output with backquotes
Back to top 
Page 1 of 1
 Similar topics
-
» Can any one suggest what command could be used for refreshing a page using c sharp
» How to set Wait time for the command(ClickandWait)
» WEB DRIVER ALTERNATIVE FOR SELENIUM IDE WAIT AND WAITFOR TEXT PRESENT COMMAND
» Selenium server command options while starting server.
» Command for mouse over in webdriver

Permissions in this forum:You cannot reply to topics in this forum
SUSEUnbound :: Help Section :: Tips and Tweaks-
Jump to: