Awk - add a line, if and only if this line does not already exist
Awk: if pattern not found add some text at the end of file
How can I change the default "ens33" network device to old "eth0" on Fedora 19? computing the orbits for a group action Let $G$ be the Galois group of a field with nine elements over its subfield with three elements. Then the number of orbits for the action of $G$ on the fields with nine elements is   3 5 6 9   I have no idea how to compute the numbers of orbits for a group action. Anyone please help me. Thanks. How do I prove the sequence $x_{n+1}=\sqrt{\alpha +x_n}$, with $x_0=\sqrt \alpha$ converges? ( boundedness?) Pre-generate Review audits to avoid the lag? How much sleep do adults actually need? The common consensus is that most adults should get 8 hours of sleep a night.  However, sleep needs are highly variable, with some people needing more to function properly, and some gaining little benefit past just a few hours. I'm trying to learn more about the statistics here.  I'd imagine sleep needs would fit a normal distribution, with a median of around 8 hours and a standard deviation of around an hour. The  would then put 68% of adults in the 7-9 hour range, 95% in the 6-10 hour range, and 99.7% in the 5-11 hour range, but that's just a guess.  Has this distribution been studied, and where? Got French Schengen visa but no "VIS" after giving fingerprints Already the early papers on supergravity were written using computer algebra software to do some calculations. What modern packages do people normally use for doing such calculations? Of course Mathematica and presumable a lot of other programs can be made to do such calculations, I am wondering if there are special packages or tutorials how to do such calculations in them. On my Toshiba Encore 8 Tablet I noticed that the CPU usage is very high. In Taskmgr / ProcessExplorer, I can see that OneDriveSetup.exe is hogging 1 CPU cores heavily for hours.    How an I solve this hang and finish the OneDrive Update? On the photos where the lens flare is present, my Nikon D7000 is drawing strange labyrinth-looking artifacts. Here's an example.  The first image is a screenshot of a little part of the original photo zoomed 2:1 in Lightroom.  The second image is the same photo with Lightroom's contrast, clarity and sharpening set to the maximum to make the labyrinth pattern more visible.      This affects only some of the photos presenting lens flare. Here, for instance, the lens flare is present and light conditions are very close to the first photo, but there is no labyrinth pattern, only usual noise (screenshot of a part of a photo at 1:1 with contrast, clarity and sharpening set to the maximum):    Notes:   I can see this pattern only on some of the photos when the sun is in the frame or nearly in the frame. It is present with any lens I tested. The actual photo was shot at f/8, ISO 200, 1/640 s. I've seen this pattern in photos shot at ISO 100 as well. The photo is in RAW format, so this is not a JPEG artifact.   What is that? How do I avoid it? How do I lerp between values that loop (such as hue or rotation)? I'm trying to make the joint rotate smoothly around the center of the canvas, toward the angle of mouse pointer. What I have works, but I want it to animate the shortest distance possible to get to the mouse angle. The problem occurs when the value loops around at the horizontal line (3.14 and -3.14). Mouseover that area to see how the direction switches and it takes the long way back around.  Relevant Code   // ease the current angle to the target angle joint.angle += ( joint.targetAngle - joint.angle ) * 0.1;  // get angle from joint to mouse var dx = e.clientX - joint.x,     dy = e.clientY - joint.y;   joint.targetAngle = Math.atan2( dy, dx );   How can I make it rotate the shortest distance, even "across the gap"? Show that the set of all finite subsets of $\mathbb{N}$ is countable.   I'm not sure how to do this problem. I keep trying to think of an explicit formula for 1-1 correspondence like adding all the elements in each subset and sending that sum to itself in the natural numbers, but that wouldn't be 1-1 because, for example, the set {1,2,3} would send to 6 and so would the set {2,4}.  Multiplying all the elements in each subset and sending that product to itself in the natural numbers wouldn't work either since, for example, {2,3} would send to 5 and so would the set {1,5}. Any ideas? I recently had somebody tell me that a mutual friend of ours who is  prefers that people refer to him/her using the gender-indefinite pronoun they.   In some cases, this almost seems okay:   Kris left their umbrella at our house.  On the other hand, if Kris is sitting right next to you, it feels very odd to say       They (meaning just Kris) would like more cake.   Or even odder,      Kris would like some more cake, can you please pass it to they/them?"   Are these usages grammatically correct? Are they in the process of becoming grammatically correct? Are there more correct alternatives? As mentioned in the , Ubuntu 18.04 LTS will not have a 32 bit Desktop Image Installer. But in the  it has  32bit Desktop Images.  This is little off topic, but I'm confused. I came across this statement while studying electric currents and I am confused:  "There is no electric field inside a conductor. Hence no current can flow through it".  Is there a fallacy in this statement?  Any help would be appreciated.  The conductor being discussed is ideal. What is the driving force for the current in this case? Delay HTML5 :invalid pseudo-class until the first event Preprocess categorical variables with many values Taking Seats on a Plane What is meant by "Constant Amortized Time" when talking about time complexity of an algorithm? I have a chromebook series 5. I want to install Ubuntu onto a USB stick. When I downloaded Ubuntu onto my USB stick, it won't start up.  Do I first have to download Ubuntu onto my chromebook hard drive, open Ubuntu and then make USB stick bootable? And then return back to chrome?  Or is there a way to download directly onto USB and make the stick bootable?  I appreciate any help. Ring of order $p^2$ is commutative. I would like to show that ring of order $p^2$ is commutative.   Taking $G=(R, +)$ as group, we have two possible isomorphism classes $\mathbb Z /p^2\mathbb Z$ and $\mathbb Z/ p\mathbb Z \times \mathbb Z /p\mathbb Z$.   Since characterstic must divide the size of the group then we have two possibilities $p$ and $p^2$.   Now IU don't understand how can I reason to say that the multiplication is commutative and how can I conclude for the case when characterstic is $p$?