hie
i have made 2 classes one of client and the other of DBConnection. The client first allow access to the person by asking for username and password which is in the database after that sh...
I'm porting an user application from linux 2.4 to 2.6.6-rc3. In simple form I'm just checking if a file system is EXT2 type.
#include <stdlib.h>
#include <stdio.h>
#include <linux/ext2_f...
Hello All;
I need to figure out a way to untar a series of files, updated daily, whose names vary each day based upon the date.
Here is the code I am using to untar one file
#!/bin/b...
I am new to Mono. I was trying to get a program written in Visual Studio ported over to Linux. I was able to get everything to work except using the configuration manager to read data from t...
i get teh following error
Fetched "configure-files/source
Error in function called from the file : ./configure
_traced_source: File ".config" is not aregular file
plz give me...
after the following code:
for(;;) {
accept (socket,....)
if fork() {
// do something
execlp(',,,,');
....
}
}
always appear the process statu...
My code is like:
if ( (sd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
exit(0);
}
bzero( (char *) &server, sizeof(server) );
server.sin_family = AF_INET;
server.sin_addr...
I'd like to communicate between my notebook and a Palm IIIx handheld over the infrared OBEX protocol. Unfortunately, there isn't much information about that topic on the web. Using and program...
I am creating a standalone DivX-player based on Debian Linux. So far I've managed to automount the CDROM at startup. Now I would like to automount my CDROM each time a new one is inserted. The...
hello,
how can i put colors in dialog menus?
dialog --title "some title" \
--menu "\n Use arrows - UP/DOWN \n\
Press [Enter] to select\n" 20 40 10 \
"1" ...
I am trying to write a script to get a line number where a certain string occurs in
a file. So, for example, if I have:
FHERFIHWEOI
FHIERFHIERH
BHRT9G8H958
NVERIHFER8E
and I am looki...
I need to change MX records across a large amount of domains and I am looking for a script to automate the process. The problem lies in that I need to change the MX record, but not cname recor...
how can I rsync to an external server using a username and password? can i do this all in the command without adding anything to the conf file?
thanks
is there any way to effectively monitor the status of all the nics on my system?
i have a red hat ws with 3 nics. at any given time (maybe via cron) i need to get the status the nics, whether...
Hi, I'd like to know how to disable on of the desktops I have on my bottom right corner. I using ubuntu with gnome and the default window manager (metacity). I current have 2 desktops icons an...
I am working on open system host (solaris, linux etc...)
thes is a script which resides on mainframe host....
is it possible to execute the script on mainframe host by invoking it from ...
Running SuSe linux 10.2 with apache.
Have 2 internet providers (ADSL and Cable) to have 100% internet service.
Each internet modem is connected to router, and router is connected to linux bo...
Hi,
I have a question about a shared memory.
If a parent process gets and attaches a segment of shared memory and then forks a child, would the child process have an access to this shared...
Hi,
I have a string from std-in (arguments) that looks like
1-4,7-10,13,14
What Im trying to do is to at least print the following in bash:
1
2
3
4
7
8
9
10
13
14
Im thinking th...
Hello all,
Continuing my UDF adventure started two days ago, I have managed to get the UDF registered but having problem getting the Java code to work. I need assistance to get this Double Me...
Could you please let me know the timezone I need to select for India ( bombay)
from
http://en.wikipedia.org/wiki/List_of_zoneinfo_timezones
I have a linux machine
thanks
Dear experts:
I want to write a shell script that will allow me to capture and generate a report from the utility MTR. I run the MTR program from my home Ubunto Linux that way I can keep t...
I have my BDI2000 JTAG debugger working to debug a running kernel. However, it will be most useful for me if I can debug dynamically loaded modules. I've found som old-ish instructions that ad...
I'd like to put 750,000 million files in one directory with filenames like 1.txt .... 1000000.txt. The filesystem is ext3. I gather that files are organised as a linked list, so presumably thi...
Hi,
I have log file which will be frequently updated by Shell script. This log file have file name which already copied to destination.
I would like to generate email alerts when there n...