Most Popular

1500 questions
77
votes
5 answers

What is the difference between SAN, NAS and DAS?

What is the difference between SAN, NAS and DAS?
sevugarajan
77
votes
3 answers

What does -qq argument for apt-get mean?

I just received a Vagrantfile and post install bash script. The vagrantfile downloads standard Ubuntu from Ubuntu Cloud but I found something in the bash script. Few lines of script reads as: apt-get update -qq > /dev/null apt-get -qq -y install…
user156477
77
votes
3 answers

How to handle relative urls correctly with a reverse proxy

I have a reverse proxy setup as follows in Apache: Server A with address www.example.com/folder is the reverse proxy server. It maps to: Server B with address test.madeupurl.com This kind of works. But the problem I have is, on…
77
votes
3 answers

How to ensure OpenVPN connection uses specific DNS?

I'm using OpenVPN through Tunnelblick on MacOS X Lion. I need to set specific DNS (with local IP, which works only when VPN is up) for the duration of this VPN session only. I do not have access to the OpenVPN server configuration. Only client…
Stanislav Shabalin
  • 873
  • 1
  • 6
  • 6
77
votes
4 answers

What is the correct syntax to run cron every 4 hours?

I have the following syntax (which I think is correcT?) but it runs the command every minute! * */4 * * * /cmd.sh
erotsppa
  • 2,163
77
votes
4 answers

yum search - package version

How can I tell the version of a package after doing a yum search? e.g. yum search rabbitmq returns rabbitmq-server.noarch : The RabbitMQ server I need to know the version of this server.
DD.
  • 3,114
77
votes
16 answers

How dangerous is a wet server room floor

We have a couple of tower servers in a small server room. The carpet is wet as a result of the cooler and no-one else really seems concerned about this but I'm not too happy. I'm only a lowly developer, but I seem to be more concerned than the…
JMK
  • 778
77
votes
4 answers

How do I connect to ssh with a different public key?

I have two public keys, one for some servers and one for others. How do I specify which key to use when connecting to a server?
rid
  • 981
77
votes
9 answers

Can't find .so in the same directory as the executable?

I have an executable which needs to link with libtest.so dynamically,so I put them in the same directory,then : cd path_to_dir ./binary But got this: error while loading shared libraries: libtest.so: cannot open shared object file: No such file or…
linuxer
  • 773
77
votes
5 answers

Is Postfix the same thing as Sendmail?

I have Postfix setup on my server so that I can send outgoing mail using the command-line: mail -s "Subject" address@example.com Is this using Sendmail or Postfix ? Is "Sendmail" just a software category or a distinct program ? If something is…
Xeoncross
  • 4,539
77
votes
1 answer

Why does htop have three load averages?

On htop, it shows three load averages, one bold, one normal, one red. What do they signify?
chrism2671
  • 2,629
  • 10
  • 36
  • 45
77
votes
7 answers

How do I join two named pipes into single input stream in linux

Using the pipes (|) feature in Linux I can forward chain the standard input to one or several output streams. I can use tee to split the output to separate sub processes. Is there a command to join two input streams? How would I go about this? …
Brad
77
votes
9 answers

Can't seem to disable Java Automatic Update

I'm just tweaking out my new Windows 7 laptop and wanted to disable the automatic Java updating (and thus kill the silly jusched.exe background process), but I can't seem to get it to actually turn it off. I found the Java Control Panel applet and…
77
votes
4 answers

How to grant network access to LocalSystem account?

How do you grant access to network resources to the LocalSystem (NT AUTHORITY\SYSTEM) account? Background When accessing the network, the LocalSystem account acts as the computer on the network: LocalSystem Account The LocalSystem account is a…
Ian Boyd
  • 5,373
76
votes
9 answers

Command to prepend string to each line?

Looking for something like this? Any ideas? cmd | prepend "[ERRORS] " [ERROR] line1 text [ERROR] line2 text [ERROR] line3 text ... etc
user14645
  • 1,690
  • 2
  • 15
  • 17