I am trying to create some alias for executing the same command but with sudo credentials. In the ultimate case I want to be something like:  alias !!='sudo !!'   But when I source /.bashrc file this particular alias doesn't work for some reason.
I'm trying to set an alias for sudo !! in Bash. I tried alias sbb='sudo !!', but it interprets that as a literal  !! and prints   sudo: !!: command not found   If I use double quotes, it substitutes the double bang in the string itself, so that doesn't work.  Is there any way to make this work? Or an alternative alias? `
Singular or plural "set"? Server vs single-player world effects Are there any differences with regards to chunk generation or other settings in single-player vs server mode of equivalent versions?  I have a map I'd like to host on a private server for my friend to play with me. However, when I'm on the road without ready internet, I'd like to play it single-player as well.  Will this cause any issues, especially with chunk generation, drops, items, etc (i.e., getting a different chunk generated in server-mode than single-player would have created), or do all server-client version pairs (I'm using 1.6.2) use the same game code?  The main point is that I don't want gameplay to change at all, between single-player and server mode. I read in several places, including Wikipedia, that a tessellation of the plane by a single, convex, $n-$sided polygon is not possible for $n\geq7$. I was not able to locate a proof, or a paper that discusses this. Maybe it is too trivial, but I am not able to figure it out myself.   So I would like to ask you for help. Where can I find a proof for this?  Also, I am interested in the mathematical background behind plane tiling (especially periodic), If you can suggest papers on the topic it would really help. Experimental observation of matter/antimatter in the universe Got 2,919 PB/s in Ubuntu Terminal I have problem (seems to be trivia) about Ubuntu Terminal. Once my network connection slow down then it (sometimes but very rare to happened) showed some information like this.     I shocked because I have been got 2,919 PB/s. Sorry my mouse block some part of letter 'P' (I actually rush to print screen) but I believe you can recognize it.    EDIT    based on answer given to me, and I got similar info then, I'd like to add more clearly new image after.    Can someone explain it to me?  Best Regards! Java process memory check test What is so special about speed of light in vacuum? I will try to be as explanatory as possible with my question. Please also note that I have done my share of googling and I am looking for simple language preferable with some example so that I can get some insight in this subject.  My question is what is so special about $c$? Why only $c$. Its like chicken and egg puzzle for me. Does Einstein reached to $c$ observing light or does he got to light using some number which turned out equal to $c$.   Why is $c$ not relative. If something has zero rest mass like a photon why they only travel at $c$ in vacuum and not with $c+1$ or $c-1$? Intuitive examples of importance sampling My background is computer science. I am fairly new to monte carlo sampling methods and, although I understand the math, I have hard time coming up with intuitive examples for importance sampling. More precisely, could someone provide examples of:    an original distribution one cannot sample from but one can estimate an importance distribution which can be sampled from and adequate for this original distribution. Drawing a triangle from medians Is it possible to draw a triangle, if the length of its medians $(m_1, m_2, m_3)$ are given only?  Someone asked me this question, but I can not see it. Is it really possible?  UPDATE  Apart from the algebraic solution given by JimmyK4542, can anyone give me a direct construction?  I mean, it should sound like:     Draw a line segment sufficiently long. Cut the length of $m_1$ from it. Then $\ldots$ I have this really hard problem that I am working on and I just don't seem to get it. The question is: let $n$ be a positive integer; prove that there does not exist any integer $m$ such that $3n^2+3n+7=m^3$.  Please explain in detail otherwise I might not understand. I am also open for any methods that might help. Thank you. Please help. How do I remove Windows but keep Ubuntu? I want to keep Ubuntu but remove Windows. What is the biggest display of power through the Force in Star Wars? Given a DateTime object, how do I get an ISO 8601 date in string format? Are all electrons identical? Why should two sub-atomic (or elementary particle) - say electrons need to have identical static properties - identical mass, identical charge? Why can't they differ between each other by a very slight degree? Is there a theory which proves that?  Imagine an alien of size of order of Milky-way galaxy examining our solar system with a probe of size of 10's of solar system dimension and concludes that all planets are identical. On , there are download options for only certain logos/icons. Shouldn't this include all the graduated sites logos/icons? I think it should. So this is a question with which I have been stuck for a while and it all revolves around the concept of volt.  I have posted a LOT of questions on physics forums while trying to understand the concept of volt and potential difference. This is hopefully going to be the last one.  What do you exactly mean when you say that a battery is 2.5 V. I know that it says that the potential difference between the 2 terminals of the battery is 2.5 V  but then what is the potential of the 2 ends of the battery? Is there a unit of potential and not just potential difference?  Also volt = work/charge but how can work/charge express the difference of potentials across the 2 terminals? Complex zeros of the polynomials $\sum_{k=0}^{n} z^k/k!$, inside balls I understand monsters only spawn in a 9 x 9 grid of chunks centered on the player, and I assume they stay around while they remain within that distance of you. But do they despawn as soon as you move away from them? Or do they remain? If so what (if anything) causes them to despawn? Are the rules any different for passive mobs?  Will running far away from an area and then coming right back clear it of monsters? What is *Cell standby* and how can I keep it from eating my battery? Looking up my battery statistics, I almost always find Cell standby amongst the top consumers:    I never thought that "idle" would use so much energy. I saw that other people encounter similar problems:       Answers on those questions just give some raw ideas. I would like to know what exactly stands behind this, an whether there are ways to keep this "standby" from eating my battery? Why does my computer get less battery life with Ubuntu compared to Windows? Last year I purchased a Dell Inspiron 5315 laptop shipping with Windows 7 preinstalled. I installed Ubuntu 10.10 alongside it with dual-booting. On upgrading to Ubuntu 11.10, I was upset to find I now get less than one hour of battery life! Windows 7 gives me 2.5 hours of running time.  Is there any possible explanation why  my battery is running out faster with Ubuntu? Can anybody tell me better power options?