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: 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: 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 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: No, FTP is a shell, in which FTP determines what commands can be used. What you CAN do, but this is much more than using FTP, is to FTP a file from m...
Summary: Hi frnds, I donno if I amputting in the rt forum or not.But i am trying to get a week number from a given date. This code by a member on computing....
Summary: ghostdog, The o/p i have pasted above from my SED command doesn't contain the $2 and $3 command line args, because i executed the command from the CL....
Summary: I hope someone can help me in writing a shell script to do the following, - in a file there are multiple lines, and some of them have the following, ...
Summary: The shell and common Unix tools work on line oriented text data. Since your data is all one large line, you will ultimately over flow the tool's buff...
Summary: Which route are you trying to delete, so that is can not be deleted. E.g. If your Unix box has 2 network cards, there are also 2 routes for each card:...
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: 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: threadstarter, aka OP, says he wants to print from the grabbed pattern till the end of line. The awk solution does just that. Grep, although can searc...
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: Need to parse a file in this way: The file is a multi-line flatfile, containing whitespace separated keywords, ex. one two three four five six seven e...
Summary: Thanks for the help, appreciate if you pls let me know - I need to copy files from the existing non-empty folder to existing empty folder (created rec...
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: I would like to subtract a single value to a file using awk. It has been quite difficult to figure out how ? What I wanted to do is : I have a file th...
Summary: Hi, I have a file which has data as path/aa1.txt path/aa2.txt,...(each in separate lines) I want a unix script to sort this file in order. It is not w...
Summary: since you asked for it, this is for the first part, using gawk awk -F"," 'FNR==NR{ a[$2] = $NF next } ($2 in a){ print $0,a[$2] } ' OFS="," file...
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...