Tag Info

Hot answers tagged

60

There's one more thing you need to know of: GNU. GNU stands for "GNU's Not Unix", and it is an attempt to create a free, independent version of Unix, developed by the Free Software Foundation. They got very far, they made a C compiler, a C library, a linker, editors, shells, all the commands you'd expect in a typical Unix shell, lots of stuff. But the ...


43

I believe this boils down to what is—very sadly—a common wireless headache: 802.11n Wi-Fi implementation is so horrible and inconsistent between devices that the 802.11n protocol becomes fairly useless. This PC World magazine article titled, “Wireless Routers: The Truth About Superfast Draft-N” summarizes the headaches quite well; bold emphasis is mine: ...


39

Unix is an Operating System developed starting in 1969. It was originally designed to be a developer station rather than application platform, but, as development progressed and different vendors got involved, Unix was added to. Unix was initially written in assembly, but later developed into C. In relation to the others, the Linux kernel is Unix-like. ...


29

Stole this from AskUbuntu, from someone who stole it off of Hacker News. Worked on two old servers for me mkdir src cd src wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz #download all patches for i in $(seq -f "%03g" 1 28); do wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i; done tar zxvf bash-4.3.tar.gz cd bash-4.3 #apply all patches for i ...


23

In short: apt-get install does everything that is needed that your system can successfully execute the new installed software application. Longer version: Preliminaries: From the manpage: All packages required by the package(s) specified for installation will also be retrieved and installed. Those packages are stored on a repository in the ...


16

Because your ISP is hijacking your DNS queries. They are trying to be "helpful" by redirecting requests for nonexistent domains to a white label service that provides search results and advertising, from which everyone but you gets a cut of the revenue. Fortunately they do have a preferences page where you can supposedly turn it off.


15

"Unix" was originally the name of an operating system for the PDP-11, developed at Bell Labs in the 1970s. Its design was immensely influential, and it was copied and reimplemented dozens of times. Nowadays, "Unix" is an umbrella term for an entire family of operating systems, some but not all of which are directly descended from that original OS; anything ...


14

Yes, you can use visudo to edit those files. All that you have to do is specify the name of the file that you want to edit with the -f option. For example: visudo -f /etc/sudoers.d/somefilename Or, if needed: sudo visudo -f /etc/sudoers.d/somefilename Documentation From man visudo: -f sudoers Specify and alternate sudoers file location. ...


14

This happen when somehow we'd lost the keys. To solve i have executed the first step listed here https://www.spotify.com/de/download/linux/ That is: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59 D2C19886


13

Linux MD RAID info is most often written to the RAID superblock on each device, making it intrinsic to the array. This is the reason, why an array created by one installation can easily be found and started by another installation. There is the possibility of a non-superblock array, that must be assembled by using outside knowledge, but this is rather a ...


12

In Ubuntu 14 work for me Ctrl + Super + Up to maximize. Ctrl + Super + Down to minimize. Super aka Windows Key


12

For your specific situation where you use an Intel network card on Ubuntu 14.10 (which has a kernel newer than 3.13), a change in the iwlwifi driver can possibly have affected the throughput of your Intel wireless network card. This change can be be reverted by creating the file /etc/modprobe.d/iwlwifi.conf containing: options iwlwifi 11n_disable=8 To ...


10

# Add the docker group if it doesn't already exist. $ sudo groupadd docker # Add the connected user "${USER}" to the docker group. # Change the user name to match your preferred user. # You may have to logout and log back in again for # this to take effect. $ sudo gpasswd -a ${USER} docker # Restart the Docker daemon. # If you are in Ubuntu 14.04, use ...


10

The other answers here seem to assume the use of VMware Workstation, but since the OP has not yet clarified I will assume VMware Player. VMware Player does not have a snapshot feature, the idea being to entice you to purchase VMware Workstation. You can get around this by making a copy of your virtual machine using copy & paste, or by creating a .zip ...


10

The line tar (child): xz: Cannot exec: No such file or directory gives you the real error. The xz programm cannot be executed, probably because it is not installed. To install the xz (de)compression tools, issue sudo apt-get install xz-utils


9

Commands entered with a leading space are typically not stored in bash's history. This is a feature: if you want bash not to put a command in history, such as a dangerous command like rm -rf ..., place a space in front of it. Also, duplicate commands may be ignored. This behavior is configurable with the HISTCONTROL variable. From man bash: ...


8

I understand bjanssen's point, but it seems ridiculous for a package manager to allow --force-depends for a single package install, but not allow force-depends-forever-and-stop-warning-me-about-this-dependency. I had a similar problem with a package which depended on a libcairo version slightly higher than the one currently available in Debian. For my ...


8

This is most likely malware using an exploit in elastic search or java. I have run in to the same issue where my tomcat7 user gets compromised and there are the same processes running that you have. There should be the following files (or similar) in your /tmp folder owned by elastic+ .ECC6DFE919A382BADRR1A8CDFC9FB43AA0 zzt.pl and possibly mysql1 ...


8

Changes made to files in /etc/sudoers.d remain in place if you upgrade the system. This can prevent user lockouts when the system is upgraded. Ubuntu tends to like this behavior. Other distributions are using this layout as well. It has been my experience that the rules on files in this directory are looser than for /etc/sudoers. This has included: ...


8

why do we have /etc/sudoers.d? Because it's easier for automated tools (such as Chef or Puppet) to drop individual files into this directory, rather than making changes to /etc/sudoers, which might be fragile. The files in /etc/sudoers.d are (in effect) concatenated. You'll see several other instances of this pattern in /etc, such as /etc/cron.d and ...


7

I got an anwser from a colleague on Twitter: config.vm.provider "virtualbox" do |v| v.customize ["modifyvm", :id, "--nictype1", "virtio"] end Added the above to my Vagrantfile, and I got a speed boost of ~15x. On VirtualBox GUI I see now a different Adapter Type for my NAT interface: Paravirtualized Network (virtio-net).


7

Simplest way to do this on ubuntu server installer (works at least on 14.04) At question "Do you want to install GRUB on master record", answer NO you will be prompted where to install GRUB instead, type "/dev/sdb"


7

Single commands can be omitted from history (and up/down recall) by prepending with a space: $ echo "foo" # saved $ echo "bar" # <-- not saved Otherwise, you can turn off history by adding to ~/.bashrc: set +o history (to reenable, use set -o history) If you want to disable it for the current session only: $ unset HISTFILE


7

It might be your router, but it might be your ISP: I have seen ISPs blocking all DNS (UDP 53) requests to other IPs than their DNSes - they do this to either monetize (make their DNS resolve ad-sites worng on purpose) or sometimes for legal reasons (DNS-based blocking of sites). And before you ask: Yes, they deliberately break DNS.


7

When foreign documents use an unknown font you don't have installed, that font's name still gets displayed in LibreOffice Writer, but it automatically picks one of your installed fonts that it thinks is most similar to what you might want to see. So what you describe is the perfectly normal and intended behavior in the situation that you just don't have ...


6

"add the binary to your path to make it available on the command line" In unix, the PATH is the environment variable which defines where the shell looks for executable programs to run when you enter them on the command line. If you do a: echo $PATH You can see what your PATH looks like. All of the directories on the PATH are then searched (in ...


6

This is not how Fn keys work. If you press Fn+5, it is not going to send any special signal to the system. It is only going to send 5 as the keystroke. The thing to understand here is that Fn keys are hardcoded in your laptop keyboard. So, if you press Fn key with, let's say F5 key, and if F5 key has a small icon below it marked as mute, then it is going ...


6

First, cmd.exe (command prompt) is slowly being replaced by PowerShell. You should be using PowerShell and forget the command prompt. Ok, now that you're using PowerShell, you should be using OneGet (https://github.com/OneGet/oneget). This is a front-end PowerShell-based command line installer which interfaces with many different online repositories ...


6

The answer to the question in the title is right there at the beginning of the output: ELF 64-bit LSB executable, x86-64 ELF is the Executable and Linkable Format, the binary executable file format most commonly used by Linux. x86-64 is the architecture of the binary, the 64-bit version of the x86 instruction set originally introduced by AMD. For ...


6

No worries, all is fine: -v --verbose Verbose. Display the name and percentage reduction for each file compressed or decompressed. So, you're seeing how much the file was compressed, not some progress of the action itself. It can even show negative values. Like if you wanted to test for yourself, and for that first generate a binary test file with ...



Only top voted, non community-wiki answers of a minimum length are eligible