From my local machine I can copy files from a remote machine  scp remote:/some/file/path ~   But what if I'm already SSHed into the remote machine? Can I do something like this  ssh remote cd /some/file scp path local:~   where local somehow resolves to the machine I SSHed from. This would of course be possible if the local machine is running an SSH server and the remote is configured to connect to it, but that isn't always an option.  Is something like this possible?
If I'm logged in to a system via SSH, is there a way to copy a file back to my local system without firing up another terminal or screen session and doing scp or something similar or without doing SSH from the remote system back to the local system?
Scale settings for exporting to STL (for 3d printing) When saving a .qgs file in QGIS, another appears. Is this a backup? When saving a project file (.qgs), which when executed is automatically loaded with qgis.bat, there's another .qgs file which appears in the same directory of the original project file, although this one is not loaded with the qgis.bat file:    This is just out of curiosity but is the latter designed to be a backup of the original .qgs file? When I take the pth root, the bottom of the p comes very close to the \sqrt symbol.  In the New Century Schoolbook font (which I am using), the p actually intersects the \sqrt symbol, which looks even more terrible.  Is there a clean way to fix this?  \documentclass{article} \usepackage{fouriernc} % use the New Century Schoolbook font \begin{document} When I write $a^{(1/p)}$ as $\sqrt[p]{a}$, the bottom of the $p$ touches the top of the root symbol, which looks ugly. Even when the root symbol is larger, such as with $\sqrt[p]{\frac{1}{n}}$, it still looks bad (since the tail of the p almost hits that line). \end{document} I have two different machines (home and work) running Ubuntu 18.04. Last night vim froze at home. I was in insert mode and typing and went to save (esc :w) and nothing happened. The status bar still reads -- INSERT --, the cursor is still blinking where it was. I was stuck. I couldn't find a way out. I couldn't type (nothing happened when I type), I couldn't move around (the up and down arrows did nothing). It was stuck in insert mode with the cursor blinking where it was.   I was definitely multitasking and probably hit some other keys in there, but I don't know what keys. It was late, though, so I closed the terminal window and tried again (I was entering a git commit message). It happened again partway through my typing so I switched to git commit -m "don't need an editor for this" instead. And then I shut down my computer and stopped working.  I figured I was just tired, but then it happened to me today at work on a different laptop altogether. Again I was multitasking and can't swear I didn't type any bizarro key sequence but if I did it was accidental. And other tabs in the same terminal aren't frozen.   I'm used to getting trapped in visual mode in vim. That's a trick I've learned. But stuck in insert mode? Any ideas on what I might've done and how to get out of it?   Per a comment suggestion I tried looking at .viminfo but the only .viminfo I see is owned exclusively by root and only appears to show things I would have edited with sudo:   # Input Line History (newest to oldest):  # Debug Line History (newest to oldest):  # Registers:  # File marks: '0  1  0  /etc/neomuttrc |4,48,1,0,1531789956,"/etc/neomuttrc" '1  1  66  /etc/apt/sources.list.d/signal-bionic.list |4,49,1,66,1530816565,"/etc/apt/sources.list.d/signal-bionic.list" '2  51  0  /etc/apt/sources.list |4,50,51,0,1530816531,"/etc/apt/sources.list"  # Jumplist (newest first): -'  1  0  /etc/neomuttrc |4,39,1,0,1531789956,"/etc/neomuttrc" -'  1  66  /etc/apt/sources.list.d/signal-bionic.list |4,39,1,66,1530816565,"/etc/apt/sources.list.d/signal-bionic.list" -'  1  66  /etc/apt/sources.list.d/signal-bionic.list |4,39,1,66,1530816565,"/etc/apt/sources.list.d/signal-bionic.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  51  0  /etc/apt/sources.list |4,39,51,0,1530816531,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list" -'  1  0  /etc/apt/sources.list |4,39,1,0,1530816447,"/etc/apt/sources.list"  # History of marks within files (newest to oldest):  &gt; /etc/neomuttrc     *   1531789952  0     "   1   0  &gt; /etc/apt/sources.list.d/signal-bionic.list     *   1530816564  0     "   1   66     ^   1   67     .   1   66     +   1   66  &gt; /etc/apt/sources.list     *   1530816454  0     "   51  0   It seems odd that I wouldn't have an unprivileged .viminfo but I did sudo udpatedb and locate .viminfo and still didn't surface more than the one root-owned file. I know it is possible for a group $G$ to have normal subgroups $H, K$, such that $H\cong K$ but $G/H\not\cong G/K$, but I couldn't think of any examples with $G$ finite. What is an illustrative example? I'm getting pretty close to the reputation where I can start to edit others' posts, and I'm wondering what the etiquette for when (and when not) to do so. I figure that I should edit in the following circumstances:  Grammatical or spelling errors. Clarification where the meaning is not changed. For instance if the title does not describe the question very well. Where the user has made a very minor mistake that doesn't justify a full post to clarify. To add related resources or links that will help someone answer the post, or provide context  Before the commenting feature was added, I noticed that some moderators edit posts in order to insert a reply or extension to the post. I feel this isn't good etiquette (but I could be wrong) because I don't know what to do with their changes when I come to re-edit or respond. I also feel that I should be very careful not to change the meaning of any question or answer, even if that meaning is misguided. What other rules would be best practice?  Signatures and fluff are discouraged and are fair game to be removed.  See, for example, this post by  and this post by  and also see .  Also see Jeff Atwood's response in the comments to Automate fixes for issues found by Sonar Parallel universes: are there an infinite amount of universes? Parallel universe: in every universe, you are presented with a different decision. Does that mean there are an infinite amount of parallel universes? I.e., if in one universe I choose to go left, I am then presented with different choices vs if i choose right, and that creates more universes with more decisions to be made.  Or does it mean that in the end of one's life we end up in the same place, meaning that its just one parallel universe that eventually collides with the other. I was wondering if it's possible to run an Ubuntu virtual machine using VirtualBox in background, I mean, without any window open.  The idea is to connect via SSH to the Linux host, that would be running in background.  Has anyone ever done something like this? Is it possible? Do I need an ESTA to enter the US with the Victoria Clipper ferry? I am thinking of visiting Victoria, BC in Canada and then going to Seattle, WA in the US, with the .  I am a national of a country under the Visa Waiver Program. I think that if I enter by air, I need to fill an ESTA form. If I enter by car, I don't need one, I can fill a form when crossing the border.  With the ferry, what is the procedure? Should I necessarily have an ESTA? How to remove `t=canonical` from Firefox browser searches made on DuckDuckGo? In Ubuntu 14.04, when I do a search in Firefox using either the address bar or the search bar, the system always adds t=canonical to my searches. So the full string becomes: https://duckduckgo.com/?q=cat+cooking+salmon&amp;t=canonical.  However, if I perform the same search by going directly to the search engine, i.e. typing the search engine name and doing the search from the presented search box, this does not happen. In this case the string is: https://duckduckgo.com/?q=cat+cooking+salmon.    How do I stop Ubuntu/Firefox from adding t=canonical to my search queries? And, why is this behavior there in the first place? executing Python script in PHP and exchanging data between the two How does the "this" keyword work? How can I prove  from first principles that $0!$ is equal to $1$? $$\sqrt{x + \sqrt{x + \sqrt{x + \cdots}}}= 5$$ Mathematica creates a huge eps file (Up to / until / by) 50% off I wonder if someone could tell me which choice works in the following sentence and why the others do not work: (From my point of view, all of these choices work in this context.)  They have great promotion till January 5th......50% off. a) up to; b) until; c) by What causes this corkscrew-shaped object to rise up in a stream of water falling down? I have a script that updates my desktop background every day with the NASA APOD. Since upgrading to 11.10, that script stopped working, presumably because I'm using gconftool-2 to actually update the desktop background. Is there a new way to do this under Unity? Given $f_{n} : [a,b]\rightarrow \mathbb R$ is uniformly Lipschitz and $f_{n}\rightarrow f$, how can I show that $f$ is Lipschitz?  $f_{n}$ is uniformly Lipschitz $\leftrightarrow \exists K &gt; 0$ such that for all $n$ and for every $x,y\in [a,b]$ we have $|f_{n}(x)-f_{n}(y)| &lt; K|x-y|$.  $f_{n}\rightarrow f \leftrightarrow \forall~\epsilon&gt;0~~\exists~N$ such that $\forall~n&gt;N$ we have $\mid f_{n}(x) - f(x)\mid&lt;\epsilon~~~(=\mid x-y\mid?)$  Then we have  \begin{align} |f(x)-f(y)| &amp;\leq |f(x)- f_{n}(x)| + |f_{n}(y)-f(y)| + |f_{n}(x)-f_{n}(y)| \\ &amp;\leq |x-y| + |x-y| + K|x-y| \\ &amp;\leq (K + 2) |x - y| \end{align}  which shows that $f$ is Lipschitz. Can anybody tell me if this makes sense? Sorry if layout is poor.