Hello experts, I am trying to go through a series of exercises to help me understand Linux running on a Live CD of Knoppix. Can you help with the commands I need to utilize?
2. Create a...
Hi Folks,
Whenever I try to open this file 'mtable' in VI editor, it shows this message. Can you tell me what is the correct way to avoid this error?
E325: ATTENTION
Found a swap file...
Hi,
I am running a vmware server which hosts several guest OSes , my problem is that one guest can overload the whole server and make problems for all other virtual PCs , I need a bash script...
Hi,
I download the uClibc and would like to compile it with wide character support. I [make menuconfig], and [make].
When I [make], it shows me:
-------------------------------------------...
Hi there,
I made a shell script that creates a listing of files in a csv format. The script displays the number of lines that it treated, but it does it on a different line, and i want it t...
Hi,
I have a program in which I'm spawning of 3 child processes. The main associates a signal handler (Sigterm and Sigint) and than spawns 3 threads. After this main calls pthread_join to w...
I have this problem when I issue the command emacs
$ emacs prog/tnd.pl
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-
*-*-*-*-iso8859-*" to type FontStruct
Warning: Canno...
I am trying to move a windows DLL to the RedHat Linux platform. There is a function called GetModuleName() in the current DLL file, what this funcation does is to get the application's name of...
Hi,
Anyone know how to enable and disbale color coding in vi editor.
Rgds,
Hi experts,
I'm using MIME::Lite package to send an html email in Perl. It's been working fine all the while until recently when my email operator introduce something so-called grey list wh...
I am looking for a millisecond acurate sleep for linux
similar to
Irmx sysrtsleep()
I would like to know how to overwrite an existing text file
as i wrote the script likethis ....>> /home/abc.txt.
However, the text file keeps appending texts without overwrite the exsting ...
Give the command that will sort the file
~/batman/file/runs.txt by the distance of each run. (Each runs distance
is indicated in field 4 of each line.) Make sure that this will
work no...
Can I install Linux OS into my CPU that uses Windows XP? I heard good things about Linux but it sounds like it is like an microsoft office program/application. Is Linux better then Windows?
how do you say this csh statement
USER_REPLY = $<
in bash? that's to get user input while running the script,
not from command line arguments.
I am calling a socket library call
setsockopt:
struct ip_mreq m ;
//filling out m and calling
setsockopt(multi_fd , IPPROTO_IP , IP_ADD_MEMBERSHIP , &m , sizeof(m) );
But this is giv...
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 WANT TO TRANSFER A TEXT FILE FROM ONE COMPUTER TO ANOTHER COMPUTER.
SIMPLE CLIENT SERVER PROGRAM.THAT I HAVE TO USE RTP/RTCP AND UNDERLYING PROTOCOL UDP.
http://www-out.bell-labs.com/p...
I'm using a search and replace script that would change:
'lookout'
to
'look
out'
What special character can be used in sed's 'replacement' entry, for newline (carriage return)?
In my application I need to load a module and then realease it. From the command line I can use insmod and rmmod to load and unload the module with no problem. But some how if I compile the co...
I need to be able to send an email programmatically, using C/ C++ on linux. What's the best way of doing this? I don't need any advanced features, just one or more addresses, a subject line an...
I am using gvim. I need to get the exact steps to configuring gvim to reflect the different colors for syntax. this would include some configuration files.
I have two thread:
pthread_create(th1)
pthread_create(th2)
and a simple linked list
struct mNode{
char* name;
struct mNode* next;
}
mNode* head;
mNode...
Hello,
I am trying to unzip all files that start with "MF" and end with ".zip" in a folder and have them extracted to another folder. They are password protected. Here is what I am trying:
...
We have multi-threaded server which creates 4 (say T1, T2, T3, T4) threads and blocks itself in accept() for client connection requests. Whenever new client connection request is received new ...