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.

 
Time Tested Linux Dev Solutions: 251 - 275 of 762
 
Whats the difference between POSIX's <pthread.h> and POSIX's <semaphore.h>?  If I just wanted the semaphore/mutex properties, would I need to use pthread?  Thanks
Hi all,    i have been writing a small test programming that will fork itself and execute a 'ls' program. But i want to write the output of that ls program to some file. i have done somethi...
I have several files with names in this format "LASTNAME FIRSTNAME" (without the quotations, all caps though). I need to compare these files and find the matching names on each list and output...
Hello, I would like to create partitions on a 2nd hard drive in a script.  Is it possible to do an fdisk command in a script?  What would it look like? Thanks in advance for the help!
hi, I have a multi-threads program that run in user level. some of the running (not all of them) end up with segmentation fault. the stack i see using gdb leads to the following: ... malloc...
Hi, Anyone know how to enable and disbale color coding in vi editor. Rgds,
I'm linking an executable, on Linux (SuSE version 9.1, kernel version 2.6.6, ld version 2.15.90.0.1.1, gcc version 3.2.3 (old)), and I want to augment the shared library path used by dlopen()....
Is it possible to use $SIG{ALRM} together with IO::Socket::INET tcp server? Seems that triggered alarm functions cause accept to end with error, for example: #!/usr/bin/perl use IO::Sock...
It seems you can convert a integer  to ASCII char  using " echo 65 | awk '{printf "%c\n", $1}'", but it seems that you cannot convert a char to integer. Is there a simple way to convert an ...
I've created a bash shell script that loops through a command file.  This command file performs a range of tasks across a range of servers. WORKS: If I place 'echo' in front of the commands...
I'm new with linux and am having trouble because I don't know how to list a directory and view an entire directory if it is large... it justs lists the whole directory and I can't go back to t...
alright i have absolulty no experiance with crontab at all. i need to execute some java code ( part of a web application) on an hourly basis. the excuted code access some other clases which ar...
Hello, Can somebody tell me if there's a readymade ( portable on all linuxes if possible ) tool which mimics ndd like behaviour ? I specifically want to set the Timeout params for a sock...
Hi, I wish to set a Linux environment variable from within GNU C/C++. I've tried "system("var=hello"); but this doesnt work - the variable seems to disappear when I check it in a shell s...
hello all, i am creating a bash script for a program i wrote and i have never done it b4. the script will create some directories, compile the program, bla, bla, bla... i thought it'd be pr...
Hi, Can someone give me example how to send gratuitous arp from linux.
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...
how to check or make LAN card act as a promiscuous mode?
Can it be possible to write shell script that will replace same sentence in many files under some directory to my desired sentence? I know that grep can be used to search specific syntax in ...
As we know that fcntl function binds the process id to allow receiving SIGIO which is fcntl(fd, F_SETOWN, getpid()). What if I have to open three serial ports in one programm which means that...
I am using a Intel machine with Redhat Linux 7.2., I am a newbie to Linux kernel. I want to compile linux kernel source code on my machine. It is absolutely important that nothing happens ...
Hello, How can i compare 2 dates? &#9492;&#9472;(~)-> date Thu Apr  5 06:13:35 UTC 2007 This one, with a pre-given one (pregivendate="5 May 2007") (i just want to compare the day, mon...
Hi experts, I work on Linux. Now I want to create a cron job to delete files in a specific directory. There is a process that continuously outputs files to this directory. Those files that...
I use the wget command to another server that processes the url via a php script into a mysql database.  The command I use for wget is: wget -q -o /dev/null -O temp.log "http://address/raw_...
Hi, Is there any way that I can read the TSC (Time Stamp Counter) register (available in Intel processors since Pentium) at different times, calculate how many cpu cycles has passed and conve...