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: 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: 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 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: Hi I need to get the name (only name) of the last updated file or directory in an existing folder and store it in a variable. Thanks in advance. ...
Summary: hi, i would like to count the occurence of a character in a string using sed, any idea? e.g. count the no of ';' in 'abc;def;ghi;jkl' returns 3. Than...
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 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: 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: 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 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: Hello there. Does anyone here know how to configure a USB flash drive to allow one to install an ISO image which may then be used to boot from? I ha...
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: 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 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: i deleted a route in routing table using route delete.. its deletes the route.. bt yet again when i use netstat to see the routing table its still th...
Summary: The decimals are the hardest part, since maths on unix tend to be non-decimal based. Let's start with non-decimals: You can get the values of those le...
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: Hi I try to add file name in end of the line of every row.Its work one file. but same code is not work other same type of file File Data: A,VF-NL...
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: Can u help me out pls. I need to pass the parameter in batch file which contain on SQL file. my.sql file has : conn system/orcl1012#@orcl10 create use...