Advertisement

900 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Unix Systems Programming Solutions: 1 - 25 of 27
 
Hi, In the attached server.c and client.c code snippets, if I don't use bzero, then, at the client side, some extra/strange characters appear at the end of client.txt. I want to know w...
I can't find example in this site about reading from 2 pipes. One of the pipe will be read and the other pipe used for writing. I understand in the c program, I will need to do the followi...
Hi Experts.  Need put in a cron job a script that checks for the db2 processes every 5 minutes and pages me  when  it is down?(when the process are down). Please can some one write executable...
I'm looking for a good GUI - Crontab application to manage and monitor the Unix Crontab something like below link : http://3d2f.com/programs/4-187-nncron-download.shtml The process that I ...
I need to write a code that pass the output of "ls -l" back to parent using pipe. The ls- l will be executed by child after the fork process. Previously I succeeded in using fork() and execl t...
Hi All, We are running a cron job that runs a PHP script.  The PHP script is used to create an array of filenames (that exist in the webserver folder) and then it runs an exec command to un...
"Every process has one parent process. Parent process always has many child processes. and every child process can create another new child process which makes the first child process becomes ...
hi unix gurus!!! im stumped on a simple solution for this. for an/etc/hosts file that contains entries in format: IPAddress <space> Hostname <newline> Example: 127.0.0.1 localhost 169....
Hi, I have a system where many guys have root access. I want to have a unix script that emails/alert  me when some one writes or changes the /etc/hosts file.
I need to create a cshell program (UNIX)  which should create a log for ftp connection successfull , imagine if i try to connect a non existent ip it should log the error unknown host ,  if su...
Experts, I have a large file with many duplicates which i need to cleanse before i load it into the database to do some further ETL.   input file --------------------------------- row ...
Rename dmp file and log files with database name and date - then put dmp and log files in another directory I created the sa.dat file and sa_export.sh to export just one table every day in ...
Dear All, I m trying to execute this command X60=$(($1 * 60)) error showing : operand expected (error token is " * 60") TOTMINUTES=$(($X60 / $2)) error : operand expected (error token i...
How to print the lines between two line numbers in unix ? I want this to be implemented in the script.
Hi, I have posted a question few days ago for how to kick off a command (ssh $host "command..."). Someone suggest me to do the following: #!/bin/sh for host in `cat /list/of/hosts` ...
Hello Experts, I am seeking some guidance with a dilemma that I am having.   I working on a .NET project using Visual Studio 2008.  This project has a web form where a user is able to co...
Hi, I have a file with 3 columns of data. I would like to write a shell script file to parse the data. How to do that? #!/bin/sh cat in_file | while read LINE do    echo "$LINE"   ...
Before I create my own utility in Java I wanted to reach out to some UNIX people to see if this may already exist with commands. I am a novice when it comes to UNIX and scripting but for this ...
Hi, Our Company is using Clear Case as version control system. But now we have to migrate the repository to CVS. I want to know is there any way  to do such kind of migration and how effectiv...
Hi Experts, I want to prepare JRE Java runtime for arm linux(kernel 2.6.22) target board at9sam9263. with ARM processor target i tried to get blackdown.org but it failed with error libjava....
HI-   I have a scenario where I would have to read a file from a directory using UTS_FILE in PL/SQL of extension ".xml", I could use UTL_FILE.FOPEN(.............................), but the req...
I am trying to run couple of commad from shell script as follows **********setenv.sh #!/bin/bash export PROMPT_COMMAND='echo -ne "\033]0;user authentication\007"' xwininfo -root -ch...
How do I copy files from a UNIX server to a CD?
How can I test for the completion of a system()  call, on a Solaris/Unix system. Does system() return 0 on successful completion ? I have read that it is platform dependant.
checkthis="12.345.67.89" checkthis="12.345.67.8" loop.. cnt=`cat file | grep $checkthis | wc -l` I want this grep to include a space around the IP so it doesn't record a hit when I'm l...