Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Need help at Linux (debian) install
Re: Need help at Linux (debian) install [message #37464 is a reply to message #37463] Tue, 09 October 2012 12:23 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

NilaT wrote on Tue, 09 October 2012 10:27

Oh and if you're updating the readme, is it possible that the wget syntax isn't correct?
I'm not very familiar to linux yet, but this looks very funny to me:
Quote:

wget -O - http://upp.invothink.com/dolik.rce.gpg.key | sudo apt-key add -

What I mean is the "-" without any parameter? (like the O at -O)

//edit: Nevermind, got the solution. -O - is printing to STDOUT and - is bringing it to STDIN, right?
Source

Yes, exactly Smile The -O is a parameter specifying where the output should be stored. It is usually a file, but in this case it is "-" which is common shorthand for standard output in POSIX environments, which is then routed through pipe to the apt-key program. The same could be also written as -O /dev/stdout, but that is bit more verbose and I am too lazy too type Very Happy

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FLTK [FEATURE REQUEST]
Next Topic: Callbacks mechanism doesn't handle overloaded functions?
Goto Forum:
  


Current Time: Tue Jul 08 23:27:15 CEST 2025

Total time taken to generate the page: 0.04341 seconds