unable to remotly query rpm I am querying rpm database using --qf flag   rpm -q --qf '&lt;prm&gt;&lt;N&gt;%{N}&lt;/N&gt;&lt;/rpm&gt;' --all   this work fine locally, now when I try to ssh it   ssh -l root ${host} rpm -q --qf '&lt;prm&gt;&lt;N&gt;%{N}&lt;/N&gt;&lt;/rpm&gt;' --all   I get  bash: -c: line 0: syntax error near unexpected token '&lt;'  bash: -c: line 0: `rpm -q --qf &lt;prm&gt;&lt;N&gt;%{N}&lt;/N&gt;&lt;/rpm&gt; --all'   Note that    second line has a backquote and a forward quote, using double quote give same error, real use use %{N}, %{V}, %{INSTALLTIME:date} ...   I am missing something obvious, but what ?
How does ssh run a command? I'm using Bash on both client and server. When running a command over SSH:   ssh &lt;host&gt; 'declare' gives a list of shell variables. ssh &lt;host&gt; 'mount' gives a list of mountpoints.   However, declare is a Bash builtin, while mount is an external command. How does SSH know which to run if there is a shell builtin and an external command with the same name on the server?
I'd like to output hello world over 20 characters.  printf "%-20s :\n\n" 'hello world!!'  # Actual output hello world!!        :  # Wanted output hello world!!========:   However, I don't want to complete with spaces but with "=" instead. How do I do that? $\int_0^{\infty} f(x)dx$ converges and $\lim_{x\rightarrow \infty} f(x)$ exists, then $\lim_{x\rightarrow \infty} f(x)=0$? What do \makeatletter and \makeatother do? Many LaTeX “hacks” begin with \makeatletter and end with \makeatother. What do these commands do? What program can I use to decompile a class file? Will I actually get Java code, or is it just JVM assembly code?  On Java performance questions on this site I often see responses from people who have "decompiled" the Java class file to see how the compiler optimizes certain things. Continuity of $f(x)$ on $[a,b]$ implies continuity of $f(t) = \displaystyle \min_{a \leq x \leq t}f(x)$ at [a,b]. The company I work for makes hardware that communicates to the computer though a serial port. Third party companies write software that communicates with our hardware.   There are times when I need to diagnose our hardware. However, a third party software app connects to the serial port when Windows starts up, blocking any other connection. I don't know the name of this application/service and it's not always the same one.  Is there any way to either:   Find the name/pid of the app/service that is currently using a given serial port or Steal the serial port connection from another app.   vb.net preferably, but I'll take a language agnostic answer as well. When should I use a List vs a LinkedList When using the ssh or ftp commands from the Bash shell, does the server that I am connecting to learn of the domain name used? I understand that the domain name is locally translated into an IP address via DNS. In HTTP, after that happens, the server is told the original domain name as well in order to serve the correct page, or to present the correct TLS cert (SNI).  host serverfault.com GET /   Does a similar phenomenon happen when connecting to ssh or ftp?  I ask because I am  trying to ssh into a server (GoDaddy webhosting) which expects a domain name, but is not letting me in when I try to connect via user@IPaddress as the DNS is not yet moved to the GoDaddy IP address. I have a map of an area and georeferenced photos. I need to be able to bring the pictures as points and then be able to click at a certain point and an image pop up.   I have revisited this issue, i managed to get this far but the pop up doesn't work.   See image: Is there a package of Ubuntu drivers as driver pack solution? I tried to search for it, but I did not find it. If there is, how can I easily get it? I want to put a table and a figure side-by-side. The table should fill two third of the text width, and the figure the last third.  So I'd like to achieve one of the following effects (which are equivalent in my case):   One table with 3 columns. The first two columns contain text, the third column contains a lengthy image. The height of the image should be determined by the height of the whole table, if that's possible Or, a divided page like in newspapers. On the left side I have the table, on the right side the image.   What I have tried:  \begin{multicols}{2} \begin{tabular}{ l l } Text &amp; Text \\ Text &amp; Text \\ ... &amp; ... \\ \end{tabular} \vfill \begin{figure}[H]     \includegraphics[]{images/image} \end{figure} \end{multicols}   But this places the picture directly on top of the table.  I also tried using \usepackage[export]{adjustbox} and \includegraphics[right]{images/image} but the caption is still in the center of the page and therefor on top of the table. How can I prevent iPhoto/Photos/Image Capture from launching everytime I plug in my iPad/iPhone? Does a particle annihilate only with its antiparticle? If yes, why? Or to put the question another way - what is the result of a proton-positron collision, or an up quark-charm antiquark collision, etc.? As far as I know, annihilation happens only between particles of opposite charge and same mass, but perhaps I am wrong?  And if the types of annihilation mentioned above cannot happen, what are the reasons? What is the weight equation through general relativity? The gravitational force on your body, called your weight, pushes you down onto the floor. $$W=mg$$ So, what is the weight equation through general relativity? How can I migrate a Windows 10 from BIOS/MBR boot to UEFI/GPT without reinstalling? Why didn't anybody Summon the Triwizard cup in the maze? We know that the Triwizard cup itself was Summonable. After all, Harry did Summon it in the graveyard.  So why didn't any of the contestants Summon it while in the maze?  Canonical answers, please. Explain why $\mathbb{Z \times Z}$ and $\mathbb{R \times R}$ is not a field and that why any external direct sum of two fields cannot be a field. I believe it has much to do with the lack of every non-zero element having an inverse, however I am having difficulty seeing it. How do I boot from ISO file stored on hard disk? Is fractional scaling ( ) available in 18.04 LTS yet? I am waiting until this is available before I install. Indian Trains Wait List - will I get a seat? After the  of registering an account to book train tickets online using my British VISA card, I finally got into a position of being able to book a ticket, but what it appears to be telling me is that I'm only being added to a wait list, which I assume means my tickets aren't confirmed.  Can someone explain how the wait list works, and what my chances are of getting on the train successfully?    It currently says the wait list is 7 The train is the Mandor Express, from Delhi to Jodhpur on the 18th of Nov   Update: So I got the train! Although it didn't get confirmed until a few hours before it was due to leave.