I'm tired of always writing sudo apt-get install &lt;package&gt; whenever I need to download something, so is there a way for me to make the terminal understand that when I write sagi &lt;package&gt;, I really mean sudo apt-get install &lt;package&gt;?
Is there a way to substitute aliases such that it is appended or prepended to an existing command in the shell?   For example, defining the alias:  alias execloc='/home/user/'   Prepending this to a command in the bash terminal:  cd exeloc/temp/somefolder   Can something like this be done, or is there a way to do it?
So the vending machine tore my $5 in pieces. What now? The vending machine swallowed half of my $5 bill, and the other half remained in my hand. Can I get my $5 back, or is it all lost forever? Redirect after user login Do the druid's uses of the Wild Shape feature recharge while still in Wild Shape?  Say a 10th-level Circle of the Moon Druid spends two uses of Wild Shape to transform into an Air Elemental, whose form she can stay in for the next 5 hours. After 2 hours, she takes a short rest, but does not drop the Wild Shape. She has another couple of hours to keep the Air Elemental form.  My main concern: Does she get her two uses of Wild Shape back with that short rest? Or, does she have to drop the Air Elemental form first before taking the short rest to recharge Wild Shape? Getting a domain name off of the blacklist I have a friend who purchased a domain name recently that he found out (after buying it) is apparently blocked by many corporate firewalls or proxies b/c it's been tagged as porn by the blacklist db they're using.    Are there any common agencies he can appeal to in order to get the domain name off the black lists?  It's not just one corporation, either, he's looking at marketing a subscription-based service to a certain industry, so any contacting a particular firewall/proxy admin and have them manually update the blacklist won't scale well.  Thanks in advance. Paul What is "my guy syndrome" and how do I handle it? I've been reading forum posts and blogs who mention "my guy" syndrome as a specific type of difficult player, but I can't seem to find a solid definition for the term. Can someone explain this particular kind of problem player to me? How do you deal with this kind of problem? What are good books for graduates/undergraduates in Astrophysics? There are no book recommendations for Astrophysics here. I will write my own answer, but I am also interested in what are others' views on the question (I will NOT mark my own answer as the best one). Show community wikis differently in the Android app How do I find this limit: $\lim_{n\to\infty} \left[ n-{n\over e}\left(1+{1\over n}\right)^n \right]$? I'm working on a practice exam for my masters quals and I am having difficulties with the following limit. According to wolfram alpha, it's value is 1/2. Does anyone know how to find this limit?   $$\lim_{n\to\infty} \left[ n-{n\over e}\left(1+{1\over n}\right)^n \right].$$ What's the easiest way to unrar a file? I want to select questions that are only tagged as SQL, SQLServer, SQLSever 2008. I am not interested in questions that have anything more than these tags. How do i select such questions only ? How to change Gnome-Terminal title? In the context of topological spaces, I see the following major countability properties:  A space is:   "separable" iff it has a countable dense subset "second countable" iff if has a countable basis "first countable" iff the neighbourhood system of every point has a countable local basis.   (Definitions taken from Counterexamples in Topology by Steen and Seebach, 2nd ed. 1978 -- there may be differences in wording from other sources.)  The question I have is: "separable" into what, exactly? By which I mean to say: what is the thinking behind calling such a condition "separable"?  It appears not to be related to the concept of "separation axioms", which do immediately and obviously invoke an intuitive notation of separation, neither does it seem to have anything to do with "separated sets".  (Anyone using the spelling "seperable" or "seperated" will be immediately downvoted. :-) ) Why didn't Voldemort murder the Dursleys? Voldemort couldn't kill Harry as long as he called the Dursleys home. Why didn't he just murder the Dursleys? This would prevent Harry from being able to live there. What does "static" mean in C? How should I invest my money as a young graduate in Europe? This is related to this , but that question's answers are 95% tailored for residents of the US, basically recommending to full out the 401k retirement plan and this and that about stock market investments. My question is, are there other types of investments that are good for a young person starting out a career? Pointers:  I live in a welfare state in Europe, so I don't have college debt, (debt of any kind actually). Rainy day funds are much less needed than in the US, since here there is unemployment insurance for at least 18 months. I can probably invest 500€-600€ monthly for something. (The question is what.) I am not looking to invest in my retirement (I am already forced to pay for that out of my salary). I want to maximize my earnings for medium term (5-15 years). I specially want to avoid the typical paradox of (be poor in your 20's,30's,40's and be able to use your money after your 50's). That is not an option for me, I want to use my money for X or Y. But the money used has to be earned from an investment. That is a general rule for me.  For example I want to earn from my investments at least 70k€ after 5-10 years. So I'm guessing this would be a high risk investment, correct? I would like to spend on travel, on courses, on sports etc... But I insist that the money I spend should be a result of an investment not from my salary. Additionally I am not looking to buy a house so I don't want a mortgage. Except if this would constitute a good investment? FYI: this applies to France. But I'd like a general answer so others can benefit. If the question is unclear, a duplicate or off-topic don't hesitate to comment I have the Basic license for ArcGIS and so I cannot use the collapse dual lines to centreline tool or the river bathymetry toolset by ESSA as they both need an advanced license.   Any idea how I can find the centreline or thalweg of the canyons using another tool which works in the standard version of ArcGIS please? \hfill \break does not work How to calculate Area Under the Curve (AUC), or the c-statistic, by hand How to use grep/awk/unix to match all lines from one file in another file, even if they are duplicates I'm trying to retrieve the the matching lines from a file, however the file that has the "index" or list of matches to retrieve also has duplicate entries and I want to print out the duplicates as well.  Example:  File 1 (index file or list of strings to match)  abc tgf abc ggg aaa fff   File 2 (what I want to retrieve for each of the matches in file 1)  Fred   1   3   abc Amy    2   4   ggg Dan    5   6   tgf Mike   9   1   fff Steve  2   1   aaa   My desired result would be (order is not important, just that I match every line):  Fred   1   3   abc Dan    5   6   tgf Fred   1   3   abc Amy    2   4   ggg Steve  2   1   aaa Mike   9   1   fff   I'm familiar and have tried grep as follows, but it does not print the duplicate entries.  grep -Fwf file1.txt file2.txt  Fred   1   3   abc Amy    2   4   ggg Dan    5   6   tgf Mike   9   1   fff Steve  2   1   aaa Remote start up a machine that is in the shut down state? Possible Duplicate:          May I know how can one remote start up a machine that is in a shut down state?