I've been trying to create a Bash shell script that would create and alter a file called list. Effectively, my goal with the program is to append names to a list, creating the file with a header (if necessary).  However, the script currently fails at one particular point: Whenever I run the script again, the old name disappears and is replaced by the name that was just entered. How can I solve this?  My script:  #!/bin/bash #Please sign your name here.  echo "Hi, what's your name?" read name echo "Hi $name, welcome to the Linux course!"  echo Course Attendees &gt; list echo $name &gt;&gt; list   Example of problem:  $ bash list.sh Hi, what's your name? Test Hi Test, welcome to the Linux course!  $ cat list Course Attendees Test  $ bash list.sh Hi, what's your name? Test2 Hi Test, welcome to the Linux course!  $ cat list Course Attendees Test2
Assuming i have a line that i want to add to a file without opening an editor.  How could i append this line  alias list='ls -cl --group-directories-first'   to this file  config.fish
CronJob not running How do I align the viewport to a face normal? I would like to align the view straight on to a face, perpendicular to the normal. How do I align the 3D viewport to the face of a mesh? Challenges with Key with Gaps? I had a mistake with a trigger which resulted in errors in PostgreSQL 9.4.3 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit.  Each time during the error, the primary key of SERIAL increased.  After fixing the bug, the table measurements is    measurement_id | measurement_size_in_bytes |             time               ----------------+---------------------------+-------------------------------               1 |                     77777 | 2015-07-14 18:29:56.858703+03               2 |                       888 | 2015-07-14 18:29:56.882552+03               3 |                       888 | 2015-07-14 18:30:15.505957+03               4 |                       888 | 2015-07-14 18:41:01.878106+03              39 |                     77777 | 2015-07-15 12:11:21.21391+03              40 |                     77777 | 2015-07-15 12:11:59.551973+03              41 |                     77777 | 2015-07-15 12:12:05.48982+03              42 |                     77777 | 2015-07-15 12:13:02.402053+03              43 |                     77777 | 2015-07-15 12:13:02.419412+03              44 |                       888 | 2015-07-15 12:13:02.434728+03          ...   where the amount of error statements has been 35 (= 39-4).  This jump in IDs may become a challenge later when I want to integrate this table with a partial index where order matters.   Table  CREATE TABLE measurements     (         measurement_id SERIAL PRIMARY KEY NOT NULL,         measurement_size_in_bytes INTEGER NOT NULL,         time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP,         CONSTRAINT no_duplicate_measurements UNIQUE (time)     );       What are the challenges of keys with gaps? Does the series $\sum\limits_{n=1}^\infty \frac{1}{n\sqrt[n]{n}}$ converge? Does the following series converge? $$\sum_{n=1}^\infty \frac{1}{n\sqrt[n]{n}}$$   As $$\frac{1}{n\sqrt[n]{n}}=\frac{1}{n^{1+\frac{1}{n}}},$$ I was thinking that you may consider this as a p-series with $p&gt;1$. But I'm not sure if this is correct, as with p-series, p is a fixed number, right ? On the other hand, $1+\frac{1}{n}&gt;1$ for all $n$. Any hints ? Can I put 700c tires on rims made for 27 x 1.25"? I just upgraded my texlive distribution and can no longer insert space in table rows using \\[x pt] syntax when colortbl is loaded.  It seems that recent changes to array.sty might be the problem as this is the only package to change recently.  Can anyone suggest a workaround?  MWE  \listfiles \documentclass{article} \usepackage{colortbl} \begin{document} \begin{tabular}{l}   \hline   No space below with \texttt{colortbl.sty} loaded. \\[10mm]   \hline \end{tabular} \end{document}   File versions in use:   article.cls    2014/09/29 v1.4h Standard LaTeX document class   size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option) colortbl.sty    2012/02/13 v1.0a Color table columns (DPC)    array.sty    2018/04/07 v2.4g Tabular extension package (FMi)    color.sty    2016/07/10 v1.1e Standard LaTeX Color (DPC)    color.cfg    2016/01/02 v1.6 sample color configuration   pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex DIY.Blogoverflow.com is redirecting to stackexchange.com/blogs I seem to be the unlucky recipient of a 302 redirect from the blogoverflow site, and was asked by Grace Note to upload the issue here. While trying to access the DIY blog site, I'm getting bounced over to the generic SE blog page. I've tried resolving this by changing DNS servers, clearing my browser cache, and trying a different browser. Others going to the same site aren't experiencing the issue, but I'm at a loss for what's different on my system that would cause this. Here's the wget output of the redirect:  --2014-02-18 14:59:28--  http://diy.blogoverflow.com/ Resolving diy.blogoverflow.com (diy.blogoverflow.com)... 67.228.172.87 Connecting to diy.blogoverflow.com (diy.blogoverflow.com)|67.228.172.87|:80... c onnected. HTTP request sent, awaiting response...    HTTP/1.1 302 Found   Date: Tue, 18 Feb 2014 19:59:28 GMT   Server: Apache   X-Powered-By: PHP/5.4.22   Location: http://stackexchange.com/blogs   Content-Length: 1001   Connection: close   Content-Type: text/html; charset=UTF-8 Location: http://stackexchange.com/blogs [following] --2014-02-18 14:59:28--  http://stackexchange.com/blogs Resolving stackexchange.com (stackexchange.com)... 198.252.206.140 Connecting to stackexchange.com (stackexchange.com)|198.252.206.140|:80... conne cted. HTTP request sent, awaiting response...    HTTP/1.1 200 OK   Cache-Control: private   Content-Type: text/html; charset=utf-8   X-Frame-Options: SAMEORIGIN   Date: Tue, 18 Feb 2014 19:59:28 GMT   Content-Length: 16775 Length: 16775 (16K) [text/html] Saving to: ‘index.html.1’       0K .......... ......                                     100% 1.04M=0.02s Using the field of an object as a generic Dictionary key If I want to use objects as the keys for a Dictionary, what methods will I need to override to make them compare in a specific way?  Say I have a a class which has properties:  class Foo {     public string Name { get; set; }     public int FooID { get; set; }      // elided }    And I want to create a:  Dictionary&lt;Foo, List&lt;Stuff&gt;&gt;   I want Foo objects with the same FooID to be considered the same group.  Which methods will I need to override in the Foo class?  To summarize: I want to categorize Stuff objects into lists, grouped by Foo objects. Stuff objects will have a FooID to link them to their category. Please tell me which choice below (or rather a better choice that I need to know) works better in my sentences in informal English:     I got myself out on a limb. I need to clear my check by tomorrow. No matter how, I must ............ 2 million bucks by tomorrow.   a) line up [to prepare, organize, or arrange something]  b) hook up [hook somebody up with something to help someone get something that they need or want]  c) fix up [to arrange for someone to have something that they need]  For me, all three options work in this sense with the same meaning and informality degree. Are token creatures considerd as a creature spell? Are token creatures considerd creature spells? For instince when I use  tap effect combined with  would it allow me to draw a card? Defining my own command Why sets of nonzero measure contain almost all the point from Borel-cantelli Leems? Can I backup my entire Ubuntu installation to ISO DVD? How can magnets be used to pick up pieces of metal when the force from a magnetic field does no work? Rename command not found when running a script I'm trying to to execute a script, which uses the command rename.   When I execute it, I get a message rename: command not found. Any ideas?   if [[ -z '$3' ]]; then     shopt -s dotglob     rename "$EXPRESSION" ./* else     rename "$EXPRESSION" "$3" fi Should "each" be followed by a singular or plural possessive? If a possessive noun, which is plural, is preceded by "each", then should it use the singular or plural possessive form?  For example, which of the following is correct?    spend time in each other's presence spend time in each others' presence I saw several bugs and error messages when I was looking by chance into the tool called "logs".  Being a newbie in Ubuntu I have no idea how to deal with these bugs, where to report them or how to fix them.  Any help to guide me here?  The bug I have (which is listed under important) reads:  [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later) The closest I can get to making mesh lights affect their environment in Blender Eevee is giving them an Emission material and turning on "Bloom". But this isn't emitting proper light, it just looks like it is, but it doesn't light the surroundings whatsoever.     I would like to be able to light a scene with meshes without having to put point lamps everywhere just to make them emit light. First, I'd like to apologize for the awkwardly-phrased title.   Instead of trying to explain the structure I'm thinking of, I'd like to give some context and then an example or two. I've used and seen this construction used conversationally, and if my memory and intuition serve, conversationally only. I'm curious to know if there is a formal term for it.  Ex 1  "If you don't like what I'm offering, the door is that way."  A purely logical interpretation would make little sense with this example. In this context, the inference is that the speaker is indicating to whomever he is speaking that they should leave, which suggests that there might be an elision, e.g.  "If you don't like what I'm offering, ... [then you may leave. T]...he door is that way."  Ex 2  "If you're hungry, I have food."  This is a similar context. The implication is that the speaker will offer food to whom she is speaking if they are hungry. A (strictly) logical interpretation would, again, make little sense (if you are hungry, then I have food doesn't convey any intent to provide it, nor does it make sense; the speaker always has food, she just will offer it if her guest is hungry).  I recognize that this might be too specific to have a term associated with it. I'm just curious to know what it is if it does exist. What is the difference between ANSI/ISO C++ and C++/CLI?