02-27-2009
Logchecking Script
Hi,
I have to manually check a lot of logs. I am skilled enough to write a script to do a lof of the work but I am sure there are resources already out there--no need to reinvent fire if you do not have to.
Can someone provide me with the pertinent resources?
Thanks,
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys
I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file.
#!/bin/sh
echo " $2 $3 $4 $5 $6 $7
isql -w400 -U$2 -S$5 -P$3 << xxx
use $4
go
print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies
2. Shell Programming and Scripting
I am using blow script :--
#!/bin/bash
FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not
if
then
# echo "process found"
exit 0;
else
echo "process not found"
exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies
3. UNIX for Dummies Questions & Answers
I am trying to call a script(callingscript.sh) from a master script(masterscript.sh) to get string type value from calling script to master script. I have used scripts mentioned below.
#masterscript.sh
./callingscript.sh
echo $fileExist
#callingscript.sh
echo "The script is called"... (2 Replies)
Discussion started by: Raj Roy
2 Replies
4. Shell Programming and Scripting
Hello all,
I am facing a weird issue while executing a code below -
#!/bin/bash
cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset
sh UKBA_publish.sh UKBA 28082015 3
if
then
echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies
5. Shell Programming and Scripting
I'm new to utilities like socat and netcat and I'm not clear if they will do what I need.
I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes.
I'm using Cygwin bash on Windows 10.
My... (3 Replies)
Discussion started by: siegfried
3 Replies
LEARN ABOUT DEBIAN
gv-update-userconfig
GV(1) User Commands GV(1)
NAME
gv-update-userconfig - update ~/.gv config file
SYNOPSIS
gv-update-userconfig [filename]
DESCRIPTION
gv-update-userconfig is a simple script to update an .gv config file to the current version of gv(1).
You can specify a file which is used instead of .gv by using the optional filename argument. This is useful if the environment variable
XUSERSEARCHPATH is used.
This is done by removing all entries known to cause problems with the current version of GNU gv (i.e. the one the version of this program
belongs to) and updating the version information in that file. This resets all problematic items back to the default values.
-h, --help, --usage
displays a short help message
-r removes all resources from ~/.gv that equal the default resources being shipped with GNU gv (ignoring whitespaces).
-n switches to alternative navigation by adding resp. updating navigation resources to ~/.gv, i. e. after each page switch (except if
selected by the page number) the page is scrolled to top (if switching forward) resp. to the bottom (if switching backward).
-N switches to standard navigation by adding resp. updating navigation resources to ~/.gv.
-s removes navigation resources from ~/.gv and therefore enables standard navigation.
-i updates translation file. Using the optional filename parameter is strongly recommended for using this option. This option cannot be
used together with any of the other options.
BACKGROUND
The $(HOME)/.gv file is written by GNU gv when activating the Save button in one of the configuration dialogs.
The values in there are used, if there is no display-specific resource value (loaded from $(HOME)/.Xresources at login time or manually
xrdb(1)).
Sometimes older values miss things needed by the new GNU gv to work properly. This GNU gv will notice old (or missing) version information
in this file and refuse to start until fixed.
SEE ALSO
gv(1), xrdb(1).
COPYRIGHT
This manpage is Copyright (C) 2008 Bernhard R. Link and can be used, copied, distributed and/or modified without restrictions.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
gv 2008-07-31 GV(1)