Basically, Every time tomcat starts, It goes into that directory path and delete everything in webtop and da sub-directories and directory itself.
this should work,
unless if you have other thoughts of wrapping up 'rm' command with a custom logic to log the files and other information as per need into a file before actually deleting the directories / files
can someone pls help me with the script for a files coming from one system to a particular directory and i want to write a script to move those files to another directory on different system by renaming the files...
pls someone help me on this...
thanking in anticipation.... (1 Reply)
In bash scripts please can someone tell me if the below is the correct syntax for comparing integers and strings;
for integers -
if ;then
for strings -
if ; then
Thanks
Calypso (4 Replies)
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Hi all,
I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first.
Can you please help me determine which one to... (14 Replies)
I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Gents,
I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
I have one bash shell script to execute table refreshment. At the bottom of script, I have one piece of code to check 'ORA-' error from log file, then send email to DBA or application people. But this piece of code didn't work. I tried different ways and also search online to find where is my... (2 Replies)
Discussion started by: duke0001
2 Replies
LEARN ABOUT CENTOS
apache
apache(1M) System Administration Commands apache(1M)NAME
apache - Apache hypertext transfer protocol server overview
DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta-
tion.
FILES
The apache HTTPD server is integrated with Solaris.
The following files specify the installation locations for apache:
/etc/apache Contains server configuration files.
A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example
to the httpd.conf file and making local configuration adjustments.
/usr/apache/bin Contains the httpd executable as well as other utility programs.
/usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test
page that gets installed upon fresh installation.
/usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8)
/usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the
url:
file:/usr/apache/jserv/docs/index.html
/usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied
into this directory.
/usr/apache/man Contains man pages for the server, utility programs, and mod_perl.
Add this directory to your MANPATH to read the Apache man pages. See NOTES.
/usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache.
/var/apache/cgi-bin Default location for the CGI scripts.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/htdocs Default document root.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/icons Icons used by the server.
This normally shouldn't need to be changed.
/var/apache/logs Contains server log files.
The formats, names, and locations of the files in this directory can be altered by various configuration directives
in the httpd.conf file.
/var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file.
The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWapchr |
+-----------------------------+-----------------------------+
| |SUNWapchu |
+-----------------------------+-----------------------------+
| |SUNWapchd |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)
http://www.apache.org
NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org
The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add
/usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is
not supported.
SunOS 5.10 8 Aug 2000 apache(1M)