Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

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

 
Top Linux Dev Solutions: 1 - 25 of 45
 
Hi, I would like to request an assistant. Anybody know how to create a bash script to detect whether a process is ALIVE or DEAD ? The process that i want to detect is as follows (usin...
I want to zip lot of files residing in solaris and open in windows... I know how to get zipped files in solaris in windows by using ftp.. i want to know which is the options available to z...
I'm trying to create a .ksh file in UNIX that will append a new line to the line ABOVE the line it finds.  So, the unique charactaristic would exist on the "portalinstance" node below.  I want...
In my program, I need two different kind of timers, periodic timer and one-shot timer. I write the code in Attach Code Snippet. I get the output -------------------------------------- Period...
Experts  I need to rename a log file to log.YYYY_SEQ on the first day of each year or when the size reaches 1GB.   Obviously the "YYYY" means the current year. And "SEQ" equals the log count....
Hi all, I need a simple c sample code how to implement circular logging. A simple hello word app which writes a simple line to log.txt "Hello world". If the log file exeeds 1mb, it rename...
I am trying to understand how Linux kernel differentiates between virtual address space of kernel and virtual address space of user space process for Intel CPU architecture . Linux KERNEL loa...
I'm using BSD. I want to grep on multiple items. For example I want to find all lines with aaa, bbb or ccc. Does anyone know they syntax?
I have recently mode my development work to fedora 8 and need to enable core dumps to debug. fedora 5 I had to make several changes, which I've now forgotten. I've googled and applied the "unl...
Hi, experts: I use the gSOAP toolkit to develop a web server program. The program can run on Ubuntu Linux. Now I would like to put this program into dd-wrt.v23_asus.trx firmware. At first ,...
I have a makefile system and it is designed to exec makefiles at each level - each higher level encompassing a greater set of files.  Each makefile can be at any level within the tree.  Each m...
Experts, I have a while loop that does some work on a number of cmd line parameters in sucession. creates an array within the while loop. based on the array created I want to exclude th...
I have a bash script that I wrote.  It works fine when I execute it from the shell.  However, when I run the script via Cron it is not giving me the correct information.  My curiosity is that ...
Hello, in Linux, how can I get the source port used by a socket after making a call to the connect system call? I want to save the source port used for later use. Alternatively, how can I fi...
Hello, Here is my file ; it is an sql file. select @i_date_v := min(from_unixtime(logging_time, '%D-%M-%Y')) FROM 1_event_2008070600; select @mm1_succ_1 := count(*) FROM 1_event_2008070...
PHP Linux Hello, How do I copy a file to multiple directories (either through command line or through a PHP script)? For example... I want to copy a specific file, index.php in /...
I am writing a program make the function packet forwarding. I have a pc with two ether card A and B. I disabled ip forwarding. I use raw socket to capture packet from ether A, and then send...
I wanted to know how to queue cron jobs with a general linux based system. I have all the crons in a nice little file, but if too many run at once, they start getting blogged up, and it lags t...
I host multiple accounts on my server and have root access.  My DSS scans have noted the the presence of phpinfo.php poses a threat to my certification, so I need to ensure that these files ar...
I need to be able to send an email programmatically, using C/ C++ on linux. What's the best way of doing this? I don't need any advanced features, just one or more addresses, a subject line an...
Hi All,    I have one script where i need to send email to some ppl. Iam using KSH script on LINUX. Iam generating one csv file inside script and then I need to send that file as an attachmen...
I have a script that generates a backup error log for several accounts we have.  .  What I need is to group errors based on a few static pieces of information.. The file has about 8,000 lines....
I am using gvim. I need to get the exact steps to configuring gvim to reflect the different colors for syntax. this would include some configuration files.
I have two thread:   pthread_create(th1)   pthread_create(th2) and a simple linked list    struct mNode{           char* name;           struct mNode* next;   }   mNode* head;   mNode...
Hi All, I haveone file which has 100 records each separated by "|". In some records, one column has tab . How can i delete tab form that column inside a file. example 20080609|67961856|EQUI...