Best practice for using .bashrc aliases under sudo
Aliases not available when using sudo
Bash: What does ">|" do? I have just seen this written down;  $ some-command &gt;| /tmp/output.txt   Vertical pipes are used in standard redirects "piping" the output of one command to another, is &gt;| in fact completely useless as it would be the same as just &gt; in this scenario? I have tried to map this simple object, but the uv mapping does not correspond to what i see in the textured object. It cuts the image a bit on top and a bit on the bottom of the faces. It does not fill the faces with the texture, even though i have mapped them correctly. Does anyone know what could be happening? Thanks in advance. How do I copy files using Windows Batch? How can I define the different properties of an Cycles/Eevee material? Such things as glossy, glass, diffuse, RGB-color, emissive via python scripting? Skyrim - Companions attacked me for no reason? Stop the Ubuntu updater from nagging about Firefox English Language pack even after uninstalling Firefox I have run sudo apt purge firefox, and I have gone through all of the /.config files, etc., and Software Updater is still asking me daily if I want to install the &quot;English Language Pack for Firefox&quot;. I don't have Firefox installed. How can I stop the updater from asking to update something on a program that doesn't exist? Output of dpkg -l | grep firefox: ii  firefox-locale-en                          88.0+build2-0ubuntu0.18.04.2        amd64        English language pack for Firefox Ring of rational-coefficient power series defining entire functions No internet after 16.04 LTS 18.04.01 upgrade This may seem like a duplicate, but many solutions have been unsuccessfully tried. Currently I have no internet, WIFI or Ethernet. Sometimes: "no wifi adapter found".  The device is HP dm4, dual boot with Windows 7.    Here is the  The issue started 3 weeks ago as no GUI after 16.04 LTS to 18.04.01 upgrade.  At that time, I was able to use the terminal to connect to the Internet and run "fixes" in   Then mysteriously, the GUI ran after restarting several times.  But since then, I am unable to connect to the Internet in the terminal or GUI.    There is a chatroom  about my issues.  sudo nmcli c up &lt;saved WIFI connection&gt;   only appears to connect.   sudo nmcli d wifi list   shows strong signal strength, but ping to google and nyt fails.   The phone I use as a hotspot shows a successful connection.    In the GUI Network Tools show the phone/hotspot recently used minutes ago, the Available Networks list shows the phone/hotspot as available with a check mark, but the "connect" button is grayed out and unfunctional.    REGDOMAIN=00 and attempts to change this has failed as others describe. I have a similar set up to the one described by cipricus in  and the situation described in I tried the Chrome development version for a few days, didn't like it because my tabs became broken and wouldn't load properly. I changed back to the live version, but I forgot to uninstall the development version, which gave me 2 chrome icons on my task bar, but they would both load a broken version of Chrome. I then uninstalled Chrome through the control panel and reinstalled the live version, but I now have one of those broken links on my task bar (a blank page with a folded corner) that points to a version of Chrome that's no longer there. Is there a way to remove this icon? Why can't I find the Karin Kuruma? The state postulate is as follows: The state of a simple compressible system is completely specified by two independent, intensive properties. My first question is whether there is any justification for this postulate or whether it is simply an empirical law? That is, why is it not the case that 3 intensive variables are required to fix the state or even 4? If it is an empirical law with no justification and just happens to be a law our universe abides by, then why is it not one of the laws of thermodynamics as it clearly provides foundational value to the field of thermodynamics? My second question pertains to how we can know whether 2 intensive variables are in fact independant. Say temperature $T$ and specific volume $v$ for example. If we are given a thermodynamic problem, how would we know whether these are independent or not? or perhaps specific internal energy $u$ and pressure $P$. Are there certain combinations that are simply always independent of each other or does independence between intensive variables vary from problem to problem and require a full understanding of the problem at hand? Let us take a phase change for example. From my understanding of phase changes, I know that the boiling temperature is dependent on the pressure and hence I won't be able to use $T$ and $P$ as 2 variables to completely specify the state. But how would I know know what combinations of intensive variables will be independent in this case or any other case for that matter? Does it simply require rote memorization of all independent pairs of intensive variables for all thermodynamic problems or is there a more simple way to figure out what is independent and what isn't? I hope this question makes some sense and any help would be most appreciated! Table of Contents for poetry collection (ConTeXt) I'm getting stumped about how to generate the ToC for this book. I'm about to give up and just do it by hand. The author wants to include a lot of structural information that isn't present in the actual text, and none of the numbers "roll over" as they're want to do in ConTeXt.  This is the desired effect:    Narrator 1...      FIRST PART: PART SUBTITLE  1). First Poem // First Poem (Spanish title) . . . . . . . . . . . . . . . . .    1     Author of Poem (b. XXXX d. XXYY)  2). Second Poem // Poema Secunda . . . . . . . . . . . . . . . . . . . . . . .    3     Author of Poem    Narrator 2...  3). Third Poem // Third Poem . . . . . . . . . . . . . . . . . . . . . . . . .    5     Author      SECOND PART: Part 2  4). Fourth Poem // Fourth Poem . . . . . . . . . . . . . . . . . . . . . . . .    7     Author    Narrator 3...   The problems I have essentially boil down to these:   There is this weird "narrator" concept that doesn't seem to contain or be contained by the part/poem structure. A new part doesn't imply a new "narrator" and a new "narrator" doesn't imply a new part. I need to aggrandize each title with the title in translation and the author, and I want to typeset them nicely. I need poems to continue counting up across parts.   I see basically three approaches:   Make each poem a chapter and customize the appearance with \setuphead[chapter][....]. Then use \writebetweenlist[chapter] to add the Narrator and author information. Make a new list with \definelist[poem] and \definecombinedlist[content][part,poem]; continue using \writebetweenlist[poem] to insert the author and Narrator. This feels like the most conceptually valid option, but I think I'll still need a lot of customization. Forget all about ConTeXt and switch to plain TeX, use eplain's writetocentry system. Make it look right and forget maintainability. A weak converse of $AB=BA\implies e^Ae^B=e^Be^A$ from "Topics in Matrix Analysis" for matrices of algebraic numbers. It is a well known fact that if $A,B\in M_{n\times n}(\mathbb C)$ and $AB=BA$, then $e^Ae^B=e^Be^A.$  The converse does not hold. Horn and Johnson give the following example in their Topics in Matrix Analysis (page 435). Let $$A=\begin{pmatrix}0&amp;0\\0&amp;2\pi i\end{pmatrix},\qquad B=\begin{pmatrix}0&amp;1\\0&amp;2\pi i\end{pmatrix}.$$ Then $$AB=\begin{pmatrix}0&amp;0\\0&amp;-4\pi^2\end{pmatrix}\neq\begin{pmatrix}0&amp;2\pi i\\0&amp;-4\pi^2\end{pmatrix}=BA.$$ We have $$e^A=\sum_{k=0}^{\infty}\frac 1{k!}\begin{pmatrix}0&amp;0\\0&amp;2\pi i\end{pmatrix}^k=\sum_{k=0}^{\infty}\frac 1{k!}\begin{pmatrix}0^k&amp;0\\0&amp;(2\pi i)^k\end{pmatrix}=\begin{pmatrix}e^0&amp;0\\0&amp;e^{2\pi i}\end{pmatrix}=\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}.$$   For $S=\begin{pmatrix}1&amp;-\frac i{2\pi}\\0&amp;1 \end{pmatrix},$ we have $$e^B=e^{SAS^{-1}}=Se^AS^{-1}=S\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}S^{-1}=\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}.$$   Therefore, $A,B$ are such non-commuting matrices that $e^Ae^B=\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}=e^Be^A.$  It is clear that $\pi$ is important in this particular example. In fact, the authors say what follows.      It is known that if all entries of $A,B\in M_n$ are algebraic numbers and $n\geq 2,$ then $e^A\cdot e^B=e^B\cdot e^A$ if and only if $AB=BA.$   No proof is given. How does one go about proving that? How to find historical stock price for a de-listed or defunct company? I have a list of requirements for a program, but I don't know what program meets these criteria. That's about general-purpose software, for example, not a programming IDE or statistical workbench, questions about which would certainly go to respective sites.  Is this question appropriate on Stack Overflow? Where should I ask about it? On Super User or elsewhere? Can Tamron 16-300mm Macro Lens fit to Canon EOS 600D? I use Canon EOS 600D and I want a lens with a larger range. I found out Tamron 16-300 f/3.5-6.3 Di II VC PZD Macro Lens, I added it into my wishlist. I did some research on it and I'm scared that it couldn't fit to my Canon EOS 600D.  I'm still a beginner... I'm confused with EF, EF-S and APS-C/DX. Can someone please explain it to me? According to :     By looking for trades that take place in between the bid and ask, you   can tell when a strong trend is about to come to an end. This is   because these trades are often placed by large traders who take a   small loss in order to make sure that they get out of the stock in   time.   A trader when buying needs to buy at the ask price and when selling needs to sell at the bid price. So how can a trade happen 'in between' the bid and ask? How do I set a background image while I am editing? How do I put a backdrop behind the model that I am creating so that I can compare the picture to the model while editing? $\mathbb Z[1/2]$ is not finitely generated ?   Maybe I misunderstood, what finitely generated means.  it says, we need finitely many elements and I think $1$ and $1/2$ suffices as generators.  But , at the end of Proposition $5.1.4$, from the fact that $\mathbb Z[1/2]$ is not finitely generated it is concluded that $1/2$ is not integral. is this set a regular surface? I'm reading "Differential Geometry of Curves and Surfaces of Manfredo Docarmo" I'm doing  the exercises of the chapter 2. Here is the definition of regular surface that we are following:   I have problems with this exercise:   Is with the first part, I think that it's not true that it's a regular surface (the second it is). I don't know how to prove that something is not a regular surface.