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 Linux Dev Solutions: 1 - 25 of 42
 
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.
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'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...
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 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, 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 ...
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...
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'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...
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...
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 ...
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...
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...
Hi! My client have a MYSQL Database on a Linux server. And they doing a backup of the database every day. Must make a script that do this: - Check if the backupfile is made on a friday...
Hi, I have a bunch of .csv files of the form: Subject,Count "things","123" "more things","45345" I would like a Linux command line query that simply takes all .csv files in a directo...
500 points.not difficult. !From the solution at http://www.experts-exchange.com/Programming/System/Linux/Q_22800434.html (code below) ,i need a little different solution. I need the C code ca...
when I run ls -ltr from the root command line I get a file date format of the form: 2008-12-13 16:38, but when I run the same command in crontab script it is returned as: Dec 13 16:38. Why?
what is the equilent of ftp -s:"D:\futureElectronics\temp\ftpcmd.txt" ftp.xxxxx.com in unix i am getting error of ftp: s: unknown option Usage: ftp [-v] [-d] [-i] [-n] [-g] [-k realm] ...
I have a C program like the code below (just a part). So how i can compare the cpu usage % with 80% when i call P_idp and if it over 80 (or other ways ) it return ret=CSCF_RETURN_FALSE; Could...
Dear All, i would like to develop or customized a ready made open source linux based workflow for a small dept( task managment, document managment, project managment....etc). any suggestions...
Hi Environment: Linux ubuntu Currently I am able to run SDKs provided by the CUDA. How can I create, compile and run my own new CUDA project in LINUX? Kindly let me know?
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...
I have a C program code below(just 6 lines) and i need add one more function is check cpu usage load. I have already a shell script can display % cpu usage (You can see it under code ). it loc...
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...