Advertisement

635 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 Linux Dev Solutions: 1 - 25 of 39
 
I need to set the display variables in a C program, using setenv or putenv. which is a better function to set environment display variables?  Please suggest the code. This is meant for a pr...
Hi, There is a Makefile works fine under fedora core 3 with gcc 3.4.  I need to port it to Windows with Intel C++ compiler for Windows or MS Visual C++.   But I know little about Makefile a...
I'm trying to find a reasonable representation of "available" memory.  "Free" memory isn't very accurate, as Linux is good at putting otherwise unused RAM to good use if it's otherwise idle. ...
I have a file that I need to grep for" Backup xxx   And  started OR Backup xxx and  completed I have many backups in each log and I want to email the start and stop times for the x...
I need to extract ip addresses from an unformatted text file.  The addresses do not have brackets or any other delimiters around them.  I need to output this to another file.
hi this is rajesh,                            the following code is the dining philosophers problem.For that problem  I want answer for the following questions and I want to know why the de...
I'm running MythBuntu and I'm having no success getting the optical audio to work. I can verify the hardware is all fine because it works in XP. In linux, I can get analog out from the stereo...
I am running following command: sudo qemu  -m 32 -kernel data/linux-2.6.23/arch/i386/boot/bzImage -append "root=/dev/hda" -hda linux_i386.img  -boot c it gives me following error in qemu win...
Hi experts, I have a job on Linux that I want it to run every 20 minutes. I know that the crontab syntax is "*     *   *   *    *  command to be executed", however I do not know how to set...
I'm developing a social networking site "contacts inviter" script, which would send invitations to hundreds of contacts imported from GMail, Hotmail, Yahoo etc. I'm developing this script in P...
Hi, I tried all the ways to set the environment variable LD_LIBRARY_PATH from the Makefile but it's not getting set. Could you please tell me how to set the LD_LIBRARY_PATH from within the ...
When I boot a Mac(running OSX) with a live linux CD, I can mount the HFS+ partition. If I tar a folder then untar it to a different location, when I reboot into OSX, the resource fork data is ...
Hi All,  I am running one ksh script to increment counter by 1. after meeting some condition. my code is: TODAY=`date '+%d%m%Y'` echo "Connecting to sybase Database for current file count...
I just upgraded Plesk from version 8.1 to 8.6 clients cant login into horde email (psa-horde) I can see clients details in Plesk. Was able to add a new email [test] user to one domain I ca...
Hi, I am trying to run fsck /dev/sdb and it would take a longtime to finish with the number of inodes. I have tried the fsck -a/-p option, but there is unexpected inode table. Now, i ...
How do I store the result of a system call? For example: char *path = system("pwd"); I know the above is not possible. Can you tell me what i need to do to store the result of the pwd co...
Hi, Using gcc on RHEL 5.1, I've allocated some memory using malloc (134,217,728) and malloc returns the pointer to the memory successfully, but I always receive a segmentation fault after t...
Running Linux RedHat 9.0.  When booting it gives the error "Unable to resolve 'LABEL=asm_temp' then it says an Error occured during the file system check dropping you to a command line.  I am ...
Hello I bought new server and split the cpu load between two servers (some of the user come to server A and some to B). But theres is a problem with uploaded files- because if you upload to se...
I would like to store a list of files as a variable using the if statement. What I have below works but its sloppy, is there a better way to do this. #!/bin/sh variable= for file in /dire...
I am struggling to get a running kernel for an AMD Geode LX800 based board. As soon as I attempt to boot the kernels I configure with grub I get nothing more than a flashing cursor in the top ...
I have a script that copy files from sever a to b But theres a problem& when I run the script, I see it live Like this: sent 63680 bytes  received 20 bytes  127400.00 bytes/sec total...
I have two directories in Linux. One with the old files, one with the new ones. New collection of files (and sub-directories) include new versions of some files. And some files are deleted, co...
Hi folks, I have two questions here: (First question) basically I have a bunch of files 1.txt 2.txt 3.txt ... 100.txt and each of them is some results of calculation done with a parame...
Hello, When i set the breakpoints, the execution stops exactly at the breakspoint where it is set, but there is no green arrow in that position, beacause of which, i am unable to print the ...