I recently compiled and installed diffutils-3.3 as I needed the --no-dereference switch that is unavailable in the included version of diff. After configure, make, make check, make clean, and install the new version 3.3 of diff was installed in /usr/local/bin.  Running diff --version resulted in the same 3.2 as before installation.   commands and their output follow:  $ which diff /usr/local/bin/diff  $ whereis -b diff diff: /usr/bin/diff /usr/bin/X11/diff /usr/local/bin/diff  $ echo $PATH /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games   Using full paths, I can confirm that diff version 3.3 is in /usr/local/bin and version 3.2 is in /usr/bin.  Looking at the path, I would expect that since /usr/local/bin appears first, that particular diff should be executed when I call diff without a path. Clearly this is not the case. My question is why and what can I do to obtain the desired result?  Note: Ubuntu 12.04.5  $ uname -a Linux me-AOD270 3.2.0-80-generic #116-Ubuntu SMP Mon Mar 23 17:11:32 UTC 2015 i686 i686 i386 GNU/Linux
First, when I never had installed sl:  diogosaraiva@Ubuntu:~$ sl O programa 'sl' não está instalado actualmente. Pode instalá-lo escrevendo: sudo apt-get install sl   traslaction: "The program 'sl' is not currently installed. You can install it by typing:"  But when I'm tired of it and I remove it by typing sudo apt-get remove sl per example...  I get this when I type sl:  -bash: /usr/games/sl: Ficheiro ou directoria inexistente   translate: "-bash: /usr/games/sl: No such file or directory" instead of:    diogosaraiva@Ubuntu:~$ sl O programa 'sl' não está instalado actualmente. Pode instalá-lo escrevendo: sudo apt-get install sl   This appears with others packages too...  How I get rid of this: -bash: /usr/games/sl: Ficheiro ou directoria inexistente ?  I want see the original:  diogosaraiva@Ubuntu:~$ sl O programa 'sl' não está instalado actualmente. Pode instalá-lo escrevendo: sudo apt-get install sl   Output of type sl  sl está hasheado (/usr/games/sl)
Gravitational potential at a point in a gravitational field is defined as work done per unit mass in bringing a small test mass from infinity to the point.  I know that:   By integration, we find that gravitation potential is negative. The maximum value of gravitational potential which is at infinity distance is 0, therefore minimum value should be negative.   But, what I do not understand is force is in the same direction as displacement so why work done is not positive? Ohmic Heating in Wires please could someone tell me why Ohmic losses are always referred to as $I^2 R$ losses? Here is my problem. If the power coming from a power station is fixed then you can either deliver this power as high voltage, low current or high current, low voltage. But isn't $I^2R$ equal to $V^2 / R$, therefore if R is constant doesn't the power depend on the square of the voltage so surely it doesn't matter whether it is high voltage or high current. The only way I can reconcile this is that a high current must cause a greater heating effect than a high voltage. I can't figure why though. If this is the case then is there a reason why a high current causes more heating than a high voltage? Why there is "the" before some names but not others Is there a rule beyond the common "no the with proper nouns and names" for the following problem?     I saw the Empire State Building.      We went to the White House.      We saw the Golden Gate Bridge.   but     I went to Death Valley National Park.      I crossed Brooklyn Bridge. "ERROR: Extra }, or forgotten \right." in align* enviroment Why do I get a "ERROR: Extra }, or forgotten \right." in the following align* environment?  \begin{align*}     \int\left[\left(\der{E_z}{y}-\der{E_y}{z}-\mu\der{\alpha}{t}\right)\alpha&amp;+\left(\der{E_x}{z}-\der{E_x}{x}-\mu\der{\beta}{t}\right)\beta\\     &amp;+\left(\der{E_y}{x}-\der{E_x}{y}-\mu\der{\gamma}{t}\right)\gamma\left.\vphantom{\left(\der{E_y}{x}}\right]d\omega=0.     \end{align*}   thanks Do inequalities hold under differentiation? If I have the inequality $f \leq g$, does this imply $f'\leq g'$?  The reason I am asking is because I am using this fact to prove a question with Taylor theorem. Inform moderators migrating a question if the migration would have been normally blocked How did Groot manage to raise the axe of Thor when even Hulk failed? In Avengers Hulk tried to raise Thor's hammer and failed miserably. In Avengers: Infinity War, Groot raises Thor's new axe and holds it for a few seconds! Is the axe made of some other light material, or is Groot stronger than Hulk? Custom cursor in WPF? I want to use an image or icon as a custom cursor in WPF app. What's the best way to do it? How to determine CPU and memory consumption from inside a process? What should we do about Stack Overflow-specific questions on Meta SE? Lately my laptop (HP g42 247sb) screen is damaged, so I hook it up with an external monitor (LG something) and it works fine now.  The only annoying thing is I cannot navigate the BIOS menu for some tweaking because the BIOS not shown on the external monitor, instead, it only shown on the broken laptop screen, and  it only output to my external monitor when Windows/OS is logged-on.  So, is there anyway I can force output during BIOS/BOOT/POST to my external monitor?  Things I have done and didn't work:   Set my LG monitor as primary display on both window properties and Intel Graphics panel  Enter the BIOS (F10 key) and press the Fn+F4 key (change display output). Disable and uninstall my internal screen (broken laptop screen) using device manager and restart, but Windows (BIOS?) install it back on log-on. Closed lid/Magnet on sensor. Today I gave a .  This results of course in a negative score for today.   Since then I don't get any more notifications for new rep in the new top-bar on meta.    Only after resetting the rep indicator by clicking on it I get new notifications. How do I change a close vote to a duplicate? Voted to close a question based on "lack of minimal understanding".  Later realized the question was a duplicate.  How to I change vote to mark as duplicate instead? Are film capacitors affected by DC bias? I have a PCB with documentation. In the documentation, there is referred to specific pins of several jumpers and connectors. On the PCB however, there isn't a label or so for which pin has what number. I need to figure out which pin has which number, so that I know the function of each physical pin.  I noticed all connectors have all pins with a rounded tin pad, whilst one pin (either the first or the last when counting from right to left) has a square tin pad:     Is it some kind of convention which number this pin has? After that, how to count the other pins? How can I load a Python module given its full path? Note that the file can be anywhere in the filesystem, as it is a configuration option. When I open the file in Vim, I see strange ^M characters.  Unfortunately, the world's favorite search engine does not do well with special characters in queries, so I'm asking here:   What is this ^M character? How could it have got there? How do I get rid of it? After the latest Ubuntu updates, I have not been able to open virtualbox, on starting it gives me an error saying the kernel driver is either not loaded or set up properly and that I should reinstall virtualbox-dkms package. After removing virtualbox, and trying to reinstall I get the error below: ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash' Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64) Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information. dpkg: error processing package virtualbox-dkms (--configure):  installed virtualbox-dkms package post-installation script subprocess returned error exit status 10 dpkg: dependency problems prevent configuration of virtualbox:  virtualbox depends on virtualbox-dkms (&gt;= 6.1.10-dfsg-1~ubuntu1.20.04.1) | virtualbox-source (&gt;= 6.1.10-dfsg-1~ubuntu1.20.04.1) | virtualbox-modules; however:   Package virtualbox-dkms is not configured yet.   Package virtualbox-source is not installed.   Package virtualbox-modules is not installed.   Package virtualbox-dkms which provides virtualbox-modules is not configured yet.  dpkg: error processing package virtualbox (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of virtualbox-qt:  virtualbox-qt depends on virtualbox (= 6.1.10-dfsg-1~ubuntu1.20.04.1); however:   Package virtualbox is not configured yet.  dpkg: error processing package virtualbox-qt (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates it's a follow-up error from a previous failure.                             No apport report written because the error message indicates it's a follow-up error from a previous failure.                                                         Processing triggers for menu (2.1.47ubuntu4) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for systemd (245.4-4ubuntu3.3) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for shared-mime-info (1.15-1) ... Errors were encountered while processing:  virtualbox-dkms  virtualbox  virtualbox-qt E: Sub-process /usr/bin/dpkg returned an error code (1)  This happens even when I boot from the previous kernel using the grub menu, any help would be very appreciated. I have also tried to use aptitude to remove any conflicting versions of virtualbox from other repositories but still the same issue. Can I use my single entry Schengen visa to go to a different Schengen country than originally planned? My friends and I planned to visit Germany, so I got a single entry tourist Schengen visa to Germany. However, my travel plans have changed since then, because my friends are going to Italy instead. I don't have time to apply for a visa to Italy, but I have been told that I can use my Schengen visa to enter Italy. Is that true? How do I move to a new tab in gedit using the keyboard? If I have multiple tabs open, how do I move from one to another? (Ubuntu 11.10; gedit 3.2.1)