Most Popular

1500 questions
109
votes
12 answers

df says disk is full, but it is not

On a virtualized server running Ubuntu 10.04, df reports the following: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 7.4G 7.0G 0 100% / none 498M 160K 498M 1% /dev none …
Chris
  • 1,091
109
votes
3 answers

Can I create a top level TLD? (.michael for instance)

It appears that ICANN is allowing the creation of top level domains. Instead of 'registering' a domain, you would essentially be signing up to be a registrar (you'd be giving out registrations on your TLD). How do they decide whether to…
109
votes
8 answers

How do I set the global PATH environment variable on OS X?

I'd like to append to the global PATH environment variable on OS X so that all user shells and GUI applications get the same PATH environment. I know I can append to the path in shell startup scripts, but those settings are not inherited by GUI…
lajos
  • 1,355
  • 4
  • 14
  • 8
108
votes
4 answers

How to make Windows 7 USB flash install media from Linux?

I have: ISO image of Windows 7 install media 4 GB USB flash drive no DVD drive Linux installed
Ian Kelling
  • 2,681
108
votes
3 answers

Can Mac OS X be run inside Docker?

Can Mac OS X be run inside Docker? If so, any suggestion as to how? And would it be running headless, or there would be a possibility to connect to the GUI remotely?
simone
  • 1,281
  • 2
  • 10
  • 11
108
votes
4 answers

an upstream response is buffered to a temporary file

I have a rather large and slow (complex data, complex frontend) web application build in RoR and served by Puma with nginx as reverse proxy. Looking at the nginx error log, I see quite a few entries like: 2014/04/08 09:46:08 [warn] 20058#0: *819237…
ngw
  • 1,291
108
votes
3 answers

Does getting disconnected from an SSH session kill your programs?

So, say I get disconnected from an SSH-session after I've started rsync or cp or any other command that can be long running. Does that command keep running until it's finished after I get disconnected or does it just get killed? Always wondered…
fregas
  • 1,231
108
votes
8 answers

Is a wildcard CNAME DNS record valid?

I know it's valid to have a DNS A record that's a wildcard (e.g. *.mysite.com). Is it possible/valid/advised to have a wildcard CNAME record?
Ben Mills
  • 1,213
108
votes
6 answers

Turn off pager for psql's interactive output

We switched from PostgreSQL 8.3 to 9.0. Perhaps it's a new feature or perhaps just a configuration change, but now when output from commands (like, \d tablename) exceeds visible vertical space, psql seem to pipe the output through something similar…
Yuri Ushakov
  • 1,203
108
votes
6 answers

Is X.Y.Z.0 a valid IP address?

Are IP addresses with a 0 in the last octet valid? 10.6.43.0 In my case, I have the the following netmask 255.255.252.0 What about a 0 for the other octets?
Alan H
  • 2,314
  • 4
  • 20
  • 17
107
votes
2 answers

Differences and dis/advanages between: Fast-CGI, CGI, Mod-PHP, SuPHP, PHP-FPM

There are few different php "wrappers"(?). What are differences between them? Tried to google some, but cant seem to find informations. (mod-php is not googleable). Why might I choose one over another?
Gacek
  • 1,231
107
votes
7 answers

How to retrieve the last modification date of all files in a Git repository

I know how to retrieve the last modification date of a single file in a Git repository: git log -1 --format="%ad" -- path/to/file Is there a simple and efficient way to do the same for all the files currently present in the repository?
107
votes
5 answers

SSH keypair generation: RSA or DSA?

SSH supports two signature algorithms for key pairs: RSA and DSA. Which is preferred, if any? For RSA, what is the minimum acceptable key length?
107
votes
11 answers

Send Ctrl-Alt-Del to nested RDP session

Is there a way to send the Ctrl-Alt-Del command to an RDP session (Windows Server 2008 R2) inside another RDP session (also Windows Server 2008 R2) without the first session catching it? Ctrl+Alt+End and Ctrl+Alt+Shift+End do not reach the 2nd level…
xddsg
  • 3,452
107
votes
14 answers

Is Ping a reliable way to check if a server is available?

In my application I am pinging a server and waiting for a response. I am using this to determine whether the server is available and responsive or not. Is this a reliable way of determining availability? I assume a firewall could be filtering icmp…
Peter Kelly
  • 1,102