Search Results

Search: Posts Made By: bigbenn
1,088
Posted By bigbenn
Thanx, it will now run fine without the $list if,...
Thanx, it will now run fine without the $list if, just fine, I just need to figure out how to make it do it for the -l now
1,088
Posted By bigbenn
Trouble with catting a file
I have a perl script I am trying to modify and I cannot seem to get it to do right. I want it if the -l is ran with the script to cat the given file and then exit.


my ( $help, $version, $list...
1,027
Posted By bigbenn
Well there is a lot more to this script than that...
Well there is a lot more to this script than that snippet...as well as it calls upon a logfunction tha thas subroutines for ziplog, rototate log and other stuff. But I see what you are saying, that's...
1,027
Posted By bigbenn
Log ext
I have a script that does log rotation, at 10000k, it will print out the logs as follows:

name.date.0.log(1gb)
name.date.1.log(1gb)
name.date.2.log(200mb) << current log being written to

at...
1,030
Posted By bigbenn
Yes I know that, and I know the actual length, it...
Yes I know that, and I know the actual length, it is 24, but I do not want to just put 24......Lets say in 3 months a new Key in the list is 28, I dont want to keep having to go back and change it. I...
1,030
Posted By bigbenn
Length extension
Ok I have a PERL script that reads an .xml file. One of the new services listed in the file, is alot longer than the others. I am trying to get a way for the spaces of the Service module to read the...
11,222
Posted By bigbenn
Thanx it all helped alot guys
Thanx it all helped alot guys
1,853
Posted By bigbenn
had to change a little
Reviewed with my superior, said I had to many prompts, he only wants the two. It needs to ask for instances(DONE) then ask if you want to set the java bit to current version(DONE

command line to...
1,853
Posted By bigbenn
I am using ksh, sorry forgot to mention
I am using ksh, sorry forgot to mention
1,853
Posted By bigbenn
User input for shell
I still cannot figure out how to get this read command to work. I want the script to ask questions when prompted, and the user to enter a response. Based on response it will continue or exit. I have...
2,205
Posted By bigbenn
its ksh, I just can't get it when i run it to...
its ksh, I just can't get it when i run it to prompt my questions for yes no and all, it runs through and displays all else, but just wont do that for me
2,205
Posted By bigbenn
Shell Script for Java version switch
Hello all I am writing a shell script for unix, and I am trying to get it to ask me if instances are stopped, and then if the version of java running is correct, if not I want it to ask me to switch...
1,396
Posted By bigbenn
Setting java and returning version
I am currently trying to write a script and I am not that great at wording it with taking in user input, it will do the following:

ask " Have you stopped instances? "
if instances are stopped,...
11,222
Posted By bigbenn
Vm versus physical linux server
Does anyone have a script that can be run to tell you if you are on either a VM Linux or a physical Linux server?
1,154
Posted By bigbenn
#!/bin/ksh # -*- Mode: Bash; tab-width: 2;...
#!/bin/ksh
# -*- Mode: Bash; tab-width: 2; indent-tabs-mode: nil -*- vim:sta:et:sw=2:ts=2:syntax=sh

SCRIPT=$(basename "$0")
SCRDIR=$(dirname "$0")
cd $SCRDIR
SCRDIR=$(pwd)...
1,154
Posted By bigbenn
Adding script
I have a script that will run a lint check on all shell and perl scripts that I have in 2 different branches and will report back in a tmp.log file that will show me what works and doesn't.

I am...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 08:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy