Hi - I have the following script, it appears though that when I pipe the output from do_countdown through any kind of stream filter - sed, grep, tr ..etc, and then through tee that the output ...
Hi,
I am new to Putty and need to be able to connect to my database to reboot. Can you tell the syntax for connecting to the database? I have putty set up so I can log into the box. Thanks.
Hey, one of our employees left the company recently and there is an application on one of our servers with a giant memory leak that I won't have time to debug for a few weeks, so I'm trying to...
Hello.
I've already searched, but found nothing...
I need a script that checks if remote file exists. Everything that I've found only relates to one particular file. I need to check if t...
Please help me create a script to modify the password of a user having an account to 100 servers.
We are using trusted account relationship in HPUX and we are using ssh to login to each servers.
We need to write a bourne shell script to call a different command on different days of the week and dates of the month. Example;
IF date of month = 14 THEN
ELSE IF day of week = 1 (Mond...
how to kill the process using shell script
For change control/support purposes, our OpenVMS servers require tech support
or administrator to login to a central VMS server (which is DCL shell script menu
driven) & from there, the admi...
What is the syntex of a in Bourne .sh using Solaris 8 of a:
if this or this then
fi
Here is what I have:
HOSTNAME="`uname -n`"
if [ "`echo ${HOSTNAME}" != "server-1" -o "`echo ${HOS...
Hi Experts,
Have a dumb question, i have the following script which loops through a file and takes the word in each line of that file and does a grep on a different file, however instead of...
I have a shell script, which thorws some log messages in standard output .
I want to catch that output from inside the same shell script to a log file.But here am facing a problem and the pro...
I want to append the date to a file created in a Unix Shell Script
example release.dmp101408
created from an oracle export
Our AIX server is on a network that uses an exchange server. Our administrator has agreed to open the port for SMTP traffic go go through, and the internal ip of the exchange server is 10.1....
Ok this question sounds to be very easy, but I m new to this.
I have a shell script which reads text file line by line.
Seems there is path config issue?
I've got this shell script which I have attached to this question. What I am trying to do is add another function to allow me to reduce from 2 cron jobs to 1. I copied the script into the snip...
hi,
I need to write a shell script which gcc compiles my server / client app (server.c and client.c) and then runs them in separate terminal windows. how can i spawn these new terminal win...
I'm working on a script to ssh from one system (query_server) to a database on another system (db_server) to run some sql updates commands and then exit
I have a version of this working tha...
How do you get the number of lines returned by an
AWK search, that is the number of matches that it
has found ?
How can I create a script when it's menu driven:
server1@/>sudo /etc/opt/resmon/lbin/monconfig
Password:
============================================================================...
Hello,
I am trying to attach a time to the file that is being gzip'ed, I am just not sure how to. I have tried to explore using the date command and then try and only display the current ti...
I have an executable file "a.out" . This will print some inforamtion and pause . Ask user "whether to continueI have an executable file "a.out" . This will print some inforamtion and pause . A...
In Apache/ linux - how would I setup a cron script to run daily to delete all files within a specified folder (above www root) that are older than a certain time period - for example, 1 month?...
HI experts,
Is it possible to write to a zip file directly? Or do I have to unzip it first? Here is what I do. I have a cronjob
python cppc.py >> cpp_log.txt
In order to save disk sp...
On a solaris box using bourne shell.
Basically running this command (with a bunch of Java stuff before it)
weblogic.Server >> ${WLS_CONSOLELOG} 2>&1 &
It redirects standard out to a file. W...
I'm looking for a cron script or other way to periodically and automatically empty the spam box that can be enabled via Cpanel's SpamAssassin? I'm looking for a way to empty it based on time ...