What is the difference between the command line sudo apt-get update and the command line sudo apt update?  Although I've been using only Ubuntu and Ubuntu-based distros in the last several years, I still consider myself an entry-level user when it comes about command lines and Terminal-related stuff. I mention this aspect because I need a novice-friendly explanation.   A bit of background info: on a regular basis I run the commands sudo apt-get update and sudo apt-get upgrade in my Terminal. And I also know that it is recommended to do so before installing any app, in order to avoid any errors.  But today I have decided to , and I noticed that, on their webpage there are mentioned these two lines:  sudo apt update sudo apt install snapd  And this is why I am puzzled. (By the way, these lines work fine in my case.)
I read about the new fancy progress bar which was added to apt 1.0 in  and how to enable it . However on running sudo apt-get update, I did not see the fancy progress bars. On reading the second link again, the solution explicitly requires you to use sudo apt update.  Hence my question is the difference between apt and apt-get. I thought they were one and the same.
Under what condition we can interchange order of a limit and a summation? I have recently started using blender and one of the models I'm working on has dark shadows along edges. I started this model from scratch. I can't remember them being there when I first started the model, but I had trouble joining areas together and think I've pressed something I shouldn't have. However, there are so many options I'm not sure what I did.  Here is an image of what I mean   The one on the left has the shadow. As a test I started a new model, which is on the right in the image, and as you can see it doesn't have any shadows.  Also, occluded vertices partially show through the model. Occlusion doesn't work properly.   In orthogonal view small darkened triangles appear along the the edges.    I don't really want to start the model again from scratch so any ideas on how to remove this shadow would be great. Thanks. How to prevent accidental clicks in the Save button when saving a node? I need to prevent accidental clicks in the Save button when a node is being saved.  I found this   which does exactly this. But the problem is that it uses javascript (jquery). Then if the user disable javascript this module is useless.  My problem is that in my website the user get points when creating nodes, so I have to prevent this in a more secure way.  How can I do this?   What do you think of these ideas?:  1) Maybe I would forbid the node being saved more than one time    programmatically instead of disabling the Save button.   2) Or better: I would allow the user to just save a new node every 5 minutes. Why does switching to the tty give me a blank screen? After booting to the GUI in 12.04, I attempt to move to the virtual terminal (or shell, or tty) via Ctrl-Alt-F1 (F1 through F6), and the screen remains blank. I have tried all 6 tty instances and the results are the same. Ctrl-alt-F7 brings me back to the GUI without a problem. Any thoughts? What formats supporting animation are suitable for the web? What formats supporting animation are suitable for the web and what are the pros and cons of each. Can awakened mind be used with suggestion? Can the warlock class feature "awakened mind" be used in conjunction with the suggestion spell, allowing the warlock to make the suggestion telepathically?  Awakened Mind, Player's Handbook p. 110:     You can telepathically speak to any creature you can see within 30 feet of you. You don't need to share a language with the creature for it to understand your telepathic utterances.   Suggestion, Player's Handbook p. 279:     You suggest a course of activity (limited to a sentence or two) and magically influence a creature you can see within range that can hear and understand you.   If it works with suggestion, would it also work with mass suggestion?  To be clear, I am not asking about the verbal component of the spell, only the method the caster "suggests a course of activity". I am not able to sum all the opportunities under the account ?  How will I do that?  What I have to use in this to run the trigger? Is it possible to create because opp. is child and account is parent ?  trigger sumAllopptyAmtAccount on Account(before insert) {     Set &lt; ID &gt; AccID = New Set &lt; ID &gt; ();     if (Trigger.isInsert)         for (Account oppAc: trigger.New) {             AccID.add(oppAc.AccountID);         }     List &lt; Account &gt; acc = [select id, SumAll_Opprty__c from Account where id in: a.AccID];     List &lt; Opportunity &gt; opp = [selece id from Opportunity where AccountID in: a.AccID];     for (Account a: acc) {         a.SumAll_Opprty__c = con.size();     } } How to start a terminal with certain text already input on the command-line? Rather than rephrasing my question, let me describe to you the desired user-case:  I create a short shell-script to run command "gnome-terminal --someoptionflagname 'my text to be posted'", and execute this script.  Gnome-terminal pops up, with command-line prompt followed by my text.   ie: fields@mycomputer:/$ my text to be posted  Can this be done? I have an image that is Base64 encoded. What is the best way to decode that in Java? Hopefully using only the libraries included with Sun Java 6. I have an instance of an application running in the cloud on Amazon EC2 instance, and I need to connect it from my local Ubuntu. It works fine on one of local ubuntu and also laptop. I got message "Permission denied (publickey)" when trying to access SSH to EC2 on another local Ubuntu. It's so strange to me.  I'm thinking some sort of problems with security settings on the Amazon EC2 which has limited IPs access to one instance or certificate may need to regenerate.  Does anyone know a solution? Simplest or nicest proof that $1+x \le e^x$ The elementary but very useful inequality that $1+x \le e^x$ for all real $x$ has a number of different proofs, some of which can be found online. But is there a particularly slick, intuitive or canonical proof? I would ideally like a proof which fits into a few lines, is accessible to students with limited calculus experience, and does not involve too much analysis of different cases. How do I change the GRUB boot order? How is the optimal probability cut-off in a ROC defined by the R package Epi? The plot below was created by R package Epi::ROC for a binary classification problem. There is an optimal cut off or threshold for the classification probability at which sensitivity and 1-specifitiy are balanced in some optimal way (called ps3 in the plot). My question is how this point is defined mathematically in this case and if there are other ways to define it. How do I check the status of the CMOS battery? I want to assign the result of an expression (i.e., the output from a command) to a variable and then manipulate it – for example, concatenate it with a string, then echo it.  Here's what I've got: #!/bin/bash cd ~/Desktop; thefile= ls -t -U | grep -m 1 &quot;Screen Shot&quot;; echo &quot;Most recent screenshot is: &quot;$thefile;  But that outputs: Screen Shot 2011-07-03 at 1.55.43 PM.png Most recent screenshot is:   So, it looks like that isn't getting assigned to $thefile, and is being printed as it's executed. What am I missing? iPhone Apps in Waiting mode for the last 4 days I tried to download the "Dictionary Free" app from the App Store four days ago, but it's been stuck in "Waiting" ever since. I've tried everything: rebooting the phone, restoring from an iTunes backup, side-loading the app from iTunes, but nothing has worked.  When I turn Airplane Mode on and then off again, I get an alert popup that says "Unable to download application. It will be available for download when you log in to the iTunes Store on your computer".  I've tried what it recommends, but nothing seems to work. Two functions $f:A\rightarrow B$ and $g:B\rightarrow A$. Can someone give me an example where $g\circ f=id_A$ but $f\circ g\neq id_B$? How to use grep output as a path for cd? Let $P,Q$ real $n\times n$ matrices  such that $P^2=P$ , $Q^2=Q$ and $I-P-Q$ is an invertible matrix.  Prove that $P$ and $Q$ have the same rank.  Some help with this please , happy year and thanks. Gnome Panel becomes fully transparent when window is not maximised!