Thanks a lot trent, that was very insightful. That clears my question.
Thanks ehrt74.
Type: Posts; User: IAMTubby; Keyword(s):
Thanks a lot trent, that was very insightful. That clears my question.
Thanks ehrt74.
Hello,
I observed this kind of architecture in a project I'm working on.
Scenario
Assume sourcefile1.c calls a function defined in sourcefile2.c,
What I would do to build the project is:
gcc...
Thanks a lot for the reply MG&TL. Your explanation is very clear :)
Hello,
I have a small question regarding a Makefile. I was able to understand most of the important aspects, but still haven't been able to figure out the meaning of -o $$a $$a.o below.
SRCS...
I'm getting a "Transfer timed out." error when I try to transfer a file using the following command,"tftp -4 10.94.161.170 -c get filename"
These are the contents of my /etc/xinetd.d/tftp
#...
Thanks a lot papibe, it's clear now. :)
Thanks a lot papibe, it worked :)
I have 2 questions though:
1. I don't have to add the -print option,correct ? (I think it worked for me by adding -H alone, but since you said "good catch", I'm...
Hello,
Situation : I want to search for the word, 'confedit' in all makefiles in my system using grep.
I have tried :
I know of grep -r
I tried doing grep -r 'confedit' ./*Makefile 2>/dev/null...
I was reading up about zombie process and I did this piece of code to create one.
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
pid_t pid;
shawnhcorey, pbrane, slickymaster, ofnuts
Thanks a lot for all the answers,it is now clear :)
Hello,
I was just wondering how "stand alone applications" work. I mean, many a times, it happens that you get an executable and you don't have to install it, just double clicking it starts the...
Thanks for the reply,dwhitney67 :)
dwhitney67, I tried thinking through, but I can't help but feel that do-while shows a different output from while only in a condition like this maybe,
i = 10;
while(i<10)
{
...
Thanks a lot for that shawnhcorey :)
just subscribed by sending a mail to beginners-subscribe@perl.org
Thanks a lot for the replies. The unanimous answer sounds like Perl, I shall get a book and start learning. It will be very helpful for me.
SeijiSensei, that was fantastic :D
Got it, I had logs like cores nmbd.log nmbd.log.1 nmbd.log.2 nmbd.log.3 nmbd.log.4 smbd.log smbd.log.1 smbd.log.2 smbd.log.3 smbd.log.4, with the smbd...
Ok shall keep that in mind.[/quote]
Mainly like, extracting a part of a string from a huge string.
Thank you Vaphell, so changing the position of the increment to before the printf solves it. Thank you.
But I was wondering if there is something with which I can print upto 5 using the do-while...
Hello,
I frequently run into problems where I have to get some input from a text file, do some string operations on it, and then write it back to the file.
As of now, I am doing this in C, but I...
Hello,
For this piece of code, I was expecting that even in the i==5 condition, the block would get executed first, which means i==5 would get printed and then condition gets checked, since do-while...
Sorry TheFu, couldn't get that to work.
Lars, I wasn't able to get that. This is the output
$ host 10.16.97.89 | tail -n 1Host 89.97.16.10.in-addr.arpa. not found: 3(NXDOMAIN)
I got the desired output(computer name) using nmblookup...
SeijiSensei, wow that was fantastic :D
Can I be a bit greedy and ask you if there is something that can give me the name of the logged in user as well ?
Hello,
Is there a way programmatically/linux command to get the hostname/computer name given an ip address.
The ip address I'm giving is that of a system running Windows.
I am looking for...
iMac71, firstly sorry for the late reply.
And second, thanks a lot, that was great advice. Was just the kind of thing that tells me where I can start from for the desktop.
Maybe, to do audio/video...