SUSEUnbound
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  
openFate
Using command output with backquotes Fatelogo_small openFATE - openSUSE feature tracking
Similar topics
Latest topics
» Difference between 42.2 and 42.1
Using command output with backquotes Emptyby findoctr Thu Dec 15, 2016 7:53 pm

» openSUSE Leap 42.1 ?
Using command output with backquotes Emptyby findoctr Fri Feb 05, 2016 8:09 pm

» Happy Turkey Day
Using command output with backquotes Emptyby findoctr Thu Nov 26, 2015 1:45 pm

» Happy 4th of July!
Using command output with backquotes Emptyby bozo Sat Jul 04, 2015 12:56 pm

» It's been a while ...
Using command output with backquotes Emptyby bozo Mon Feb 23, 2015 8:34 pm

» Mondo chillers
Using command output with backquotes Emptyby bozo Wed Feb 18, 2015 5:11 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
IRC Channel
You can also find us on IRC's freenode.net as #suseunbound.

 

 Using command output with backquotes

Go down 
AuthorMessage
welan
Admin
welan


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

Using command output with backquotes Empty
PostSubject: Using command output with backquotes   Using command output with backquotes EmptyMon 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.
Back to top Go down
 
Using command output with backquotes
Back to top 
Page 1 of 1
 Similar topics
-
» Penguin command is up and running

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