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.

 
Time Tested Linux Dev Solutions: 576 - 600 of 762
 
I started using kdevelop today and I am fascinated by many of its features. The problem is I have a code that I wanted to port to linux (From windows) and I was trying to create a project in k...
Hi, I have a whole range of commands that I use in this AIX Perl script and I'm trying to port them to Linux. Such as: AIX ---- lsslot -cpci lsvg -p rootvg lsdev -C lscfg -vl <so...
Hi, i install libnet library on my red hat 8.0.  When i try to compile the sample program with the command "cc tcp1.c -o tcp1.o" the compiler return a message "undefined reference to libnet...
I am writing a mini shell, but I am having trouble with input/ output redirection when it comes to reading the input from one file, execute a command on that input and then redirect the output...
Dear all. A little bit stuck here using sed in a bash script. I want to change a single line in a file, e.g --------- ... PREFIX=/usr/lib ... --------- to become --------- ... ...
I am interested in getting handles to all the top-level windows in my current Gnome session (across all pages or virtual desktops), for the purpose of manipulating them (raising, lowering, res...
How linux diffrentiate between process segment and kernel segment ? I got that linux has following  segments:  1) Linux Process code segment (0 -3 GB)   2)Linux Process data segment (0 -3 ...
Hi, I would like to automate the creation of client certificates for my openvpn. The vpn is working on a linux box. The problem is that when I run the script that creates the certificates, it...
Hello Can somebody give me a simple example on sending and receving a UDP broadcast message? I am using C and Linux.
Hi everyone, I have a *.c file it is written as the code for kernal 2.6 module, I just need CLEAR instruction on how to compile it and insert it into the kernal. thanks.
I would like to be able to use the command: mv file1.* file2.* whose meaning is obvious to me, but not to Unix.  Does anybody have a script that will do this?
I have a large number in Linux, 5000000000. Linux gives me an error when I want to add, let's say, 5, to this number dues to its size. How do I get around this problem?
can you show me how to, with GIT : - pull  repository from pc1 to pc2 - publish changes from pc2 to pc1 "git pull git://pc1/x" seems to work ok, but when i try "git push git://pc1/x" git...
Shell script to do telnetfrom one Linux machine to another linux machine  without using expect package
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. messa...
I have libxxx.so written in C++ and compiled elsewhere, so as to expect to dynamically link to libstdc++.so.6. I do not have the source for libxxx.so, just the file  libxxx.so itself. libx...
In bash, I'm using a line like this: program1 | program2 I want to get the error code program1 returns but "echo $?" will  always return 0 because program2 always succeeds. Any ideas?
I got following code at one site. they have given sample program for educational purposes. but the program will not be compiled on my redhat linux 9.0 box. there is gcc-3.2.2-5 installed on ...
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...
Hello folks I am looking for a bash shell script that will: recursively find *.tar.gz files from the current directory and echo the tar file names that contain any partially matching s...
Hi, can somebody show me an exmaple how to read elf head in a elf file? Thanks.
I need to write the script in bash ,which will add one day every two minutes. Example Now 2/2/2005 17:30 in 17:32 will be 3/2/2005 17:30 in 17:32 will be 4/2/2005 17:30 please ,h...
I have the following code:    /* get the host ip  */    phost = gethostbyname("localhost");    if(!phost)    {       perror("could not resolve localhost");       return 0;    } Thi...
I need to write a shell script that checks to see wether or not the process dsmcad (used for the Tivoli Storage manager) is running, if not then I start it. Something like: If dsmcad runnin...
I have a mysql command that i'd like to put into a bash script. Here is the command that runs in MySQL: UPDATE server_uptime.dhs_wis_uptime SET  uptime =0 WHERE  uptime  =  ""; This is...