Hi guys I am no VB expert at all so I am in desperate need of help please.
Does anyone have some code I can cut and past for the following:-
I have a excel spreadsheet with 2 worksheets.
I have a button in one of the sheets and what I want to happen is once this button is clicked I want it to...
Last question of the day folks.
I have the script running nice now where it adds up lines of data, however some lines of data look like this.
3.2
1.1
0.5
0.2
0.2
0.2
0.1
Notice some of the lines have no data what I need to do is to add a 0 to the empty lines, how can I do this??
Regards
Ian
Hello.
I have a file that looks like this below.
3.2
1.1
0.5
0.2
0.2
0.2
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
I wander if anyone has a way to read this line by line and add up the totals and send it to another file.
This file can have as many as 100 lines and as little as 4 so I never know how...
Hi I am trying to set up cron jobs on a Sun Solaris 8 server and getting nothing but errors back.
I want my 2 scripts to run every 5 mins.
I have tried this:-
*/5 05-22 * * 1-5 /export/home/smithia6/myscript1.sh
and I get this :-
crontab: error on previous line; unexpected character found in...
Please does anyone know the answer to a simple problem.
I have a file with mabey 350 lins of data a day, the lines of data look like the below.
113M,583M,78
All I want to do is to look at this file called data.csv and remove the M so it will look like this...
113,583,78
Regards
Ian
Hi.
I am wondering if anyone can help please.
Does anyone have a script or can start me off on the right tracks to create a script that can be ran every 60 seconds on a sun solaris 8 server that will report back the CPU usage, memory usage and disk traffic usage and append the 3 figures to a...
Hi I am just about to write a script but I need a little help to get me started.
I have a directory with txt files and the files names have different names at the start but they all have one thing in common, that they have a creation date in the file name E.G
file1_20031115.dat...
Hi,
Maybe it cannot be done but I would like any help I am offered.
I have text appending to a text file like the example below.
text1 text2 text3 text4 etc....
What I would like to do is run a script to change the white spaces so the text in the text file would look like this...
Hi I am trying my best to work it out but I now need help please.
I am looking for a process called runmqchi, using:-
ps -ef |grep runmqchi |grep -v grep
I need the script to echo out a line of text to 3 .log files if the process cannot be found, but to do nothing if it can find the process...
Hi I have created a script in Thread822-422199 and also added in a new option to exit from this back to the main menu, it goes back ok and I can select a different update item but once that has done and goes back to the main menu it will not quit as it loops once and then quits.
Also the count...
I have created a menu script I have created to update a monitoring screen that is viewed in another office by a team, but I am sure this script can be improved on, as it is a little messy, and I can not get it to correctly exit out if a function is called on and then and incorrect keystroke is...
Hello I wonder if someone could help me with a korn script.
I am new to Unix Shell scripting and have only been doing it for about a week.
I want to tidy up a menu script and looking at functions.
Could anyone give me any pointers.
regards
Ian.
#!/bin/ksh
# Set system variables...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.