Most Popular

1500 questions
60
votes
9 answers

How to zero fill a virtual disk's free space on windows for better compression?

How to zero fill a virtual disk's free space on windows for better compression? I would like a simple open source tool (or at least free) for that. It should probably write an as big as possible file full of 0and erase it afterwards. Only one pass…
mit
  • 1,914
  • 6
  • 29
  • 42
60
votes
6 answers

How can I run mongod in the background on unix (mac osx)?

I would like to run mongod in the background as an always present sort of thing. What would be the best way to do this? Kind of like the way I can run MySQL on startup and it's just always there running in the background. Maybe it's just some bash…
rmontgomery429
  • 749
  • 1
  • 8
  • 8
60
votes
12 answers

Is virtual machine slower than the underlying physical machine?

This question is quite general, but most specifically I'm interested in knowing if virtual machine running Ubuntu Enterprise Cloud will be any slower than the same physical machine without any virtualization. How much (1%, 5%, 10%)? Did anyone…
60
votes
3 answers

What is the difference between a soft (symbolic) link and a hard link?

I hear that you can now create soft links in Vista too. So, what is the difference between a soft (symbolic) link and a hard link on UNIX/Linux/Vista? Are there advantages of using one over the other? Or do they just serve two distinct purposes?
Aaron K
  • 1,525
  • 5
  • 18
  • 16
60
votes
7 answers

How to change my MySQL root password back to empty?

When I'm working locally, I don't really need to enter my password to access my database. I changed my root password when I first installed MySQL, but I don't know how to change my password back. What should I do?
Andrew
  • 3,453
  • 9
  • 33
  • 36
59
votes
5 answers

How to search Powershell command history from previous sessions

I use current Windows 10 with Powershell 5.1. Often, I want to look up commands I have used in the past to modify and/or re-run them. Inevitably, the commands I'm looking for were run in a previous or different PowerShell window/session. When I…
shawmanz32na
  • 733
  • 1
  • 7
  • 6
59
votes
3 answers

iptables -L pretty slow. Is this normal?

Quick question but Gooling has not revealed an answer. When I do iptables -L, it seems to lag on displaying items in where I have limited the source to internal ips 192.168.0.0/24 The whole listing takes about 30 seconds to display. I just want to…
Bartek
  • 799
  • 2
  • 8
  • 12
59
votes
4 answers

Download SSL certificate from aws certificate manager

I am using aws certificate manager for managing SSL. Recently I purchased a wildcard ssl *.example-private.com Now I need that SSL certificate to deploy on enterprise git instance on aws. How can i download ssl from aws?
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41
59
votes
3 answers

Docker: failed to add the pair interfaces (operation not supported)

After installing Docker, I am getting an error when I try to run the Hello World example: Error response from daemon: Cannot start container 4145d0fccd96b904e4ab4413735f1129b8765429bad5be71dc8d5f4c0760666d: failed to create endpoint high_saha on…
piero-la-lune
  • 593
  • 1
  • 4
  • 4
59
votes
1 answer

Can't enter the letter 'e' over ssh

Right now I am experiencing some very, very weird behaviour on a Ubuntu 14.04.2 LTS server I am managing. Connecting to the server over ssh either from cygwin(mintty) or a terminal on a Linux machine, I can't type the letter e. I have done the…
Zulakis
  • 4,153
  • 14
  • 48
  • 76
59
votes
5 answers

Removing Docker data volumes?

The official Docker documentation mentions that I need to run docker rm -v containername to specifically remove a data volume. But what do you do if you already removed all the containers referencing the specific data volume ?
p4guru
  • 963
  • 1
  • 8
  • 16
59
votes
6 answers

Reinstall after a Root Compromise?

After reading this question on a server compromise, I started to wonder why people continue to seem to believe that they can recover a compromised system using detection/cleanup tools, or by just fixing the hole that was used to compromise the…
Zoredache
  • 130,897
  • 41
  • 276
  • 420
59
votes
2 answers

Can rsync display current average speed?

When I'm transferring large quantities of data using rsync, it would be helpful if I could have the average speed up until now at a glance, rather than a bunch of different speeds for each file.
Fela Maslen
  • 1,243
  • 2
  • 12
  • 19
59
votes
6 answers

How to Modify a Cronjob Email Subject

I am running a half dozen different cron jobs from my hosting at Hostmonster.com. When a cronjob has been executed I receive an email with the output of the script. The email comes in the format of: From: Cron Daemon Subject: Cron …
justinl
  • 713
  • 1
  • 6
  • 9
59
votes
10 answers

how to use xauth to run graphical application via other user on linux

My regular user account is, let's say, user1. I created separate user2 for some x application that i would like to run while being logged into x as user1 but in a way that will prevent it from read/write access to user1 data. I thought that i could…
Phil
  • 1,969
  • 6
  • 29
  • 33