Most Popular

1500 questions
175
votes
5 answers

How do I convert a .cer certificate to .pem?

I have a .cer certificate and I would like to convert it to the .pem format. If I remember correctly, I used to be able to convert them by exporting the .cer in Base64, then renaming the file to .pem . How do I convert a .cer certificate to .pem?
systempuntoout
  • 1,895
  • 2
  • 12
  • 10
175
votes
5 answers

What's the difference between authorized_keys and authorized_keys2?

Just wanted a quick summary of the differences between them and why there are two?
Jon
  • 2,111
  • 2
  • 13
  • 13
173
votes
9 answers

How to install tzdata on a ubuntu docker image?

I have the following line in the Dockerfile. RUN apt-get install -y tzdata When I run it, it asks for my input. After I provided my input, it hung there. Does anybody know how to solve this problem? Step 25/25 : RUN apt-get install -y tzdata --->…
user1424739
  • 1,879
  • 2
  • 12
  • 9
172
votes
8 answers

How do I sleep for a millisecond in bash or ksh

sleep is a very popular command and we can start sleep from 1 second: # wait one second please sleep 1 but what the alternative if I need to wait only 0.1 second or between 0.1 to 1 second ? remark: on linux or OS X sleep 0.XXX works fine , but…
yael
  • 2,363
  • 4
  • 28
  • 41
172
votes
8 answers

How do you validate fstab without rebooting?

I modified /etc/fstab. I verified the new devices and I can mount them with the mount command. How may I validate the modifications made to /etc/fstab ?
Luc M
  • 2,890
  • 4
  • 25
  • 27
171
votes
2 answers

How do you answer yes for yum install automatically

In centos how do you answer yes automatically for yum install so that it is an unassisted install?
DiverseAndRemote.com
  • 2,011
  • 3
  • 15
  • 16
171
votes
9 answers

Is it possible to detach a process from its terminal? (Or, "I should have used screen!")

Possible Duplicate: Can I nohup/screen an already-started process? On Unix (specifically, Linux), I've started a job in a regular ssh->bash session. I'd like to leave work soon, but I now realize that the job is going to take several hours. If I…
mike
  • 3,853
  • 11
  • 29
  • 27
171
votes
10 answers

Top level domain/domain suffix for private network?

At our office, we have a local area network with a purely internal DNS setup, on which clients all named as whatever.lan. I also have a VMware environment, and on the virtual-machine-only network, I name the virtual machines whatever.vm. Currently,…
Otto
  • 1,941
  • 3
  • 16
  • 11
169
votes
10 answers

How bad is IPv4 address exhaustion really?

For years the press has been writing about the problem that there are now very few IPv4 addresses available. But on the other hand, I'm using a server hosting company which gladly gives out public IPv4 addresses for a small amount of money. And my…
oz1cz
  • 1,565
  • 3
  • 11
  • 10
168
votes
4 answers

What is the difference between Load Balancer and Reverse Proxy?

I'm not clear about the difference between Load Balancer and Reverse Proxy. They both seems having same behavior: distributing incoming requests to backend servers.
Morgan Cheng
  • 2,004
  • 2
  • 16
  • 13
167
votes
10 answers

What is "-bash: !": event not found"

Try executing the following under a bash shell echo "Reboot your instance!" On my installation: root@domU-12-31-39-04-11-83:/usr/local/bin# bash --version GNU bash, version 4.1.5(1)-release (i686-pc-linux-gnu) Copyright (C) 2009 Free Software…
Maxim Veksler
  • 2,555
  • 10
  • 27
  • 32
166
votes
5 answers

DNS - NSLOOKUP what is the meaning of the non-authoritative answer?

For some domains nslookup gives me a Non-authoritative answer section. What does this mean? Got answer: HEADER: opcode = QUERY, id = 3, rcode = NXDOMAIN header flags: response, want recursion, recursion avail. questions…
mahen3d
  • 3,905
  • 12
  • 34
  • 55
165
votes
8 answers

Filename length limits on linux?

Are there any filename or path length limits on Linux?
readonly
  • 3,209
  • 4
  • 24
  • 23
165
votes
18 answers

Disk full, du tells different. How to further investigate?

I have a SCSI disk in a server (hardware Raid 1), 32G, ext3 filesytem. df tells me that the disk is 100% full. If I delete 1G this is correctly shown. However, if I run a du -h -x / then du tells me that only 12G are used (I use -x because of some…
initall
  • 2,205
  • 3
  • 18
  • 19
164
votes
11 answers

Run a .bat file in a scheduled task without a window

I have a scheduled task that starts a batch script that runs robocopy every hour. Every time it runs a window pops up on the desktop with robocopy's output, which I don't really want to see. I managed to make the window appear minimized by making…