Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

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

 
Time Tested Linux Dev Solutions: 51 - 75 of 748
 
I am looking for a millisecond acurate sleep for linux similar to Irmx sysrtsleep()
Hi Experts, I have a client-server application using socket to communicate.  At times, the server disconnects the client because the write to the client returns EWOULDBLOCK. I initially tho...
Hello experts, I am using an windows box and accessing to a remote linux box using telnet. How should I use the rcp (or any other copy command) to copy some files from the linux box to the w...
Hello! I would like to write to disk in atomic way to support transactions. To achive this, I have to write to disk in portions equal to the size of disk sector size. The problem is that it...
background info: 1 Obtained an ARM processor Cross Compiler 2 Obtanied GCC source code 3. Configured GCC for cross compiling --build=i686-pc-linux --host=arm-apple-darwin --target=arm...
not L, but ? Thank you.
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...
I want to search patterns of this string ->  "if example1::example2().exxample3(ok)" by using grep and want the output results only display as below - example2() example3(ok) Is it pos...
Hello,  I need to include in a setup script for Linux what I am running so that I can install the appropriate libraries. I need to know if I am running ES 3.0, 4.0 or 5.0. I am currently u...
I wrote the following script where I am sending an email from a KSH script. It just hangs and does not send the email. #!/bin/ksh typeset -i a=0 typeset -i b=0 typeset -i c=0 typese...
hi! guys!.. i am developing now a SMS System which can forward a announcement messages to my customer, as of now my system is stabled except for one modem i had and i decide to replace it in a...
Hi - I have a number of files with a particular pattern in them, like BugClassOne.cpp AnotherBugStuff.cpp etc. in a number of files in multiple sub directories. I was wondering h...
I've been using Kdevelop 2.1 for the last month and I've had all kinds of problems... -auto complete doesn't work 80% of the time... -auto tabbing has TERRIBLE AI and doesn't have a clue wha...
I have connected to a TCP socket and after a period of time, I try to send a data using "send()". Due to some network problems, the server does not respond and I get a connection timed out err...
I have errors in the log that span multiple lines and I can find say the 2nd line in the log of this erro using an unique word.  However, this only gets me the line that the word appears in no...
Here is what I need to do: Create script which will allow the user to choose from options to do simple math calculations 1.     Make sure the user cannot divide by zero. Have the user repeat ent...
I have a web site that i need to monitor the file changes. A script i have created generates md5sums for all files and puts it into a master file after an update is performed. As an added bit...
Hi I built the attached code and ran it. I got run time error, "accept: Bad address". Do you know why it is a bad address ? The ADDRESS was set to whatever it is from command ipconfig -a. ...
I would like to ask the question about Java File RenameTo method in LINUX. So far the method is working fine in LINUX ES3. A file can be rename within a partition (e.g.: From /disc1/oldfilenam...
In the following script: #!/bin/sh # file count lc=`cat integrit.log |grep 'changed:' | awk '{print $2}' | wc -l` # run count rc=1 odir="/export/export/www/old" while [ $lc -ge $rc ];...
I would like to implement a wrapper script which would ensure that all child processes that it has spawned are killed when the wrapper receives a SIGTERM (or a SIGINT). Currently I have a solu...
Hi, For some reason when using Shell it doesn't let me su  to the root. For example I logged in as jack. And I do su - root, I get this error: su: cannot set user id: Resource temporarily ...
i'm currently trying to read and write a stream of either integers or chars into a device plugged in a serial port. i know that linux has a device for it under /dev i tried using the stand...
hi, i'm trying to send and recieve string with  client/server aplicattions. Client steps:                                Server steps: 1- send string                                    ...
I would like to translate this to a bash script. The current Windows batch script is: @ECHO OFF :LOOP CLS ECHO AP Biology Lab Selector ECHO ----------------------- ECHO Lab 2: Enzym...