What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top Unix Systems Programming Solutions: 1 - 25 of 64
 
can someone help with the script/command required to send a mail with attachment from a UNIX server to Windows mailbox.Is there any additional configuration that needs be done on the UNIX box ...
I have two data files with one column, I need to merge two files into one file1 IBM DELL file 2 HP COMPAQ I woulld like to have the result like this IBM HP DELL COMPAQ
I am using the following cut command to display just the hours and minutes from the date command, it displays the hour and minutes, but it does not return a prompt back.  What is it missing? ...
I have a ksh script that accepts a parameter to determine which query it executes.   I need to run this multiple times passing different values.   I'd like to have a master ksh script that ...
I know that the following commands list files that have 3 digits (ls [0-9][0-9][0-9]), but what if i want to list a file with just three letters (in file name)...do I use (ls [A-Za-z][A-Za-z][...
I am currently writing some scripts to help automate our DR build.  So here is my question. In writing my script I am wondering if there is a switch that I can add to my script that will forc...
Hi,     I am doing C++ programming in unix. I tried with unix funciton call setitimer. Please find my program snippet attached with this thread. If I remove the static keyword in the progra...
Hi I need a script, which will write a variable(result) value to file and the variable will have value as below. 0202161075:201:01473999998:17-JAN-10:19-JAN-10 0202161075:200:01473999998:17...
Hi Experts I have a file that contains lines of text that I want to use in a shell scripts, the problem is I dont know how to get the subtring I want from each line. the file structure is ...
i have pipe delimited flat file. I need to separate the fields and the insert the fields into database. i have something like this 1001|ABC crop|New Jersey awk -F'|' '{ id = $1; nam...
I have file called access.log in different directories in UNIX. need to copy all the files to one directoy and need to parse the data I need from all the files and finally need to copy the par...
This has happened a couple of times so I want to know how to resolve it besides closing the window and reopening.  In this instance, I am trying to run a query from the command line.  I messed...
i need to write a function in shell script to take in a argument as a file. Suppose I give a input file selectAllReq.out to the function it should do some processing on the file and return the...
How do I sort data in file with unix sort utility My data has the following format Key1 key2  Key3  data while Key1 is numeric           Key2 is string           Key3 is string I would l...
I have a file named social that have social security numbers in the following format 000-00-0000. how do I search for lines having social sec numbers in this file?
Hello, Can I use the following command to find files with three digits? ls [0-9][0-9][0-9] Thanks,
i am retrieving 12 column value from DB pipe delimited into a file. If the 10th  column has value 1 or 2 i need to process the other columns
I could able derefence and used the char buffer passed from user program to the kernel module. in kernel module i could able derefrence and used this buffer without using copy_from_user() fu...
Hi there, I've got an existing shell script which has content similar to this: I want to, from another script, add to this list.. preferably add a \ to the last domain entry, and then ...
I an trying to write a Unix Shell Script that will unload a select statement to a text file.  I have tried a couple of methods, both of which did not work. With method 1, I was getting an i...
Hi Experts, I need write a shell script which connects the oracle and run .SQL(test.sql) file and produce the .CSV(report_layout.csv) o/p. This .CSV o/p passed onto .PL (csv2xls.pl), which ...
I have and external file that contains my db query.  It is sitting on my C:/.   It will create the db, the tables and values.  The files is call taskDBsetup.sql How do i run this query/file...
Due to security reasons my company is planing to modify all scripts that uses FTP to SCP. I see some documents in the web about scp but not very helpful in my case. My problem is this. My user...
Hi Gurus, i need to put the output of my sql query into a unix loop and check that the output increments. Below is the query to get my output list - it just outputs a number of numerbers i...
can I use kill -stop %jobmunber to put in the background a process that is running in the foreground? How do I stop a process that is running in the background will ^Z do it or is there ...