Archive for the ‘ MAC OS ’ Category

Anytime I’ve been running a perl based script on my leopard box I got this really irritating output with whatever else I was expecting:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = “En_US”,
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).

Read the rest of this entry

Installing wget on Mac OS X

Wget is a great command line for grabbing things from the web, but it doesn’t ship with macs. So if you want to install it here are a few steps:

1. download the source file: http://ftp.gnu.org/pub/gnu/wget/wget-1.11.tar.gz
2. compile and install it:
Read the rest of this entry

Restart Apache 2 In Mac OS X

How do I restart the Apache 2 Web Server under Apple OS X UNIX operating systems using bash command prompt?

Open a terminal and than type the following command to restart the apache 2 web server:
$ sudo /usr/sbin/apachectl restart
OR
$ sudo apachectl -k restart

How do delete multiple files in bulk (say all *.bak file stored in /netapp/ and its subdirectory) under Linux / UNIX operating systems?

You can use the find command as follows to find and delete file in bulk:
Read the rest of this entry

Installing wget on Mac OS X

Wget is a great command line  for grabbing things from the web, but it doesn’t ship with macs. So if you want to install it here are a few steps:

1. download the source file: http://ftp.gnu.org/pub/gnu/wget/wget-1.11.tar.gz
Read the rest of this entry