Summary: Hi There. I am running a unix script that ftp's into an as/400 i-series server and downloads files into a unix filesystem. These files are all suffix...
Summary: How to disconnect DB connectivity in a UNIX script. I have connected to a DB using sqlplus command in UNIX shell script. I need to know how to check t...
Summary: I am new to Unix and working on some simple shell scripts..Q. Create a script file that sums the numbers passed to it as arguments on the command ...
Summary: I did a variation of what tvc suggested. If you want to keep the original text, you need to do more than strip out the numbers. Here is what the fol...
Summary: Hi All, I want a shell script which need to monitor the log file and take the last 10 min update data and put it into a file. Please help me, Please ...
Summary: Nails, It worked like a charm. Thanks for the response. Now as i am new to shell scripting and sed itself, i guess you don't mind helping me on this o...
Summary: I have a script file, where I wrote:'VAR1=7; export VAR1'. Now, I'm programming in Tcl. I need the variable VAR1 to be loaded from the script file, ...
Summary: I am assuming that the objects in your existing folder are only files and directories. #!/bin/ksh cd <your existing folder> myvar=$(ls -1t|while ...
Summary: Hi Gurus, I use below script to add header and trailer to files in a folder. When executed, it is removing the " of 4.5 & yyy.xsd from the header. Ca...
Summary: This is getting pretty complex ... OS scripting is not really made for this kind of stuff, although I am sure it can be done. You should consider othe...
Summary: The above code is part of a script which starts a Weblogic server. Output of commands/scripts executed in start script are logged into LOG_FILE_NEW. ...
Summary: I need a help from you. i am new to shell scripting. please help on this script. i want a script monitor the log file and take the last 10 min update ...
Summary: I need a script to strip part of the filenames. I have a mainframe background, so this unix stuff is so new to me. I can do it with many lines of co...
Summary: The above is likely the correct way to do it....only I believe you would want the file to copy text from to be "output.out" if that is the name of the...
Summary: Hi Gurus this is working finee with tested values #!/bin/ksh V_DATE="2007-11-30" V_ID=789 V_NAME="john_${V_ID}_has_${V_DATE}_s" FILE_NAME=`echo ${V_NA...
Summary: Hi: The internal awk command gsub function , substitutue globally function, returns the number of substutuions made. I'm using Solaris nawk: #!/bin/ks...
Summary: The problem is that you need to figure out if the week of January 1st is less than 7 days long. I'm tired and could probably do this cleaner, but I s...