Summary: Hello all, I'm having a problem with one part of my KSH script. Below is the script and OutPut. What I would like to do next is combine field 1 "exam...
Summary: Hello, I have a Ksh script problem. The scrip is polling a directory every 5 mins to get a file, which contains the input line like "put abc.dat /hom...
Summary: Hi. I have a kornshell script that runs on a daily basis as a cron job. Part of what the script does is copy the folder contents from another server t...
Summary: Hi everyone, I was asked to create a ksh script which does the following: (using ksh88 on AIX) 1. Check if file transfer is finished (via sftp) 2. C...
Summary: Hi all, I'm trying to prompt user for input using "read" in ksh script. I want to quit, if the user doen't input any value for say "45" seconds. Can a...
Summary: If you are asking how to pull variables from each line of your file based upon fixed column positions, then I believe you have the general idea of it....
Summary: I am writing a KSH script with an SQL query in the middle, and then finished with some clean up processes. The problem I am running into is that somet...
Summary: Hi All: I need a KSH script which does the following: 1. CD to Directory - "/home/RAOB/TOC/" and list the files present in that directory 2. Generate ...
Summary: Hi All: I am a newbie for ksh scripting.My code doesn't work. Can someone help? I am trying to automate the process of file read from a directory. The...
Summary: Hello, I have a script to start 2 servers and keep a log of when they are down/restarted. The problem is in writing the log. It only writes once. ...
Summary: Can anyone tell me what the lines of code below "SSEC=`dirname $0`" do. (explicitly). I'd really appreciate it. #!/bin/ksh # joe PATH=/usr/bin:/usr/...
Summary: It also means that the original author did not realise that you can give grep a file argument and it will search that file - the "cat" part is redunda...
Summary: Below is a korn shell script which i would like under the CHK_FILES line to be able to look for files which have a date format eg 14112002 (which cha...
Summary: I'm trying to write a script that searches through a file for an occurrence of an expresssion. However, I want to use something like this: #!/bin/ksh...
Summary: Hi: I'm assuming $value is defined. I didn't have any trouble running your script on my solaris 7 box. Since this is ksh, you could try using $(..) i...
Summary: Got a ksh question. I am doing a read to input a variable. I only want to allow numeric characters (12345) for this variable, and to loop back when ...
Summary: I have a folder with a large amount of .mdl and .att files. There are also some with extensions after that .att or .mdl. An example of each: 810i41Vic...
Summary: trying to call ksh scripts on other servers using rsh. Error is "command not found". Logic is: rsh localdev1 name /path/scriptname.ksh i.e. rsh | host...
Summary: Firstly, I am a novice, but willing to learn. I have a script to check on low disk space on our AIX 4.3 box... #!/bin/sh ADMIN="me@here" ALERT=80 ...
Summary: Hi, I'm trying to prompt the user to supply a path name to a file. Once I read the pathname to a variable in the script, I need to check whether the d...
Summary: Hi, I'm trying to write an exit routine for ksh script which ideally should capture the user input "control c" and then exit the script gracefully. An...
Summary: Hi, I just started scripting in unix and I have no idea to solve my problem: need to put some data I get form my log files into the following layout -...