LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

How to pass command line arguments to main() through GDB? - C

Posted 01-10-2012 at 07:12 AM by TheIndependentAquarius
Updated 02-03-2012 at 06:32 AM by TheIndependentAquarius (Thanks to Mr.Code for pointing out the nonsense)

test.c
Code:
#include <stdio.h>
#include <string.h>

int main (int argc, char *argv[])
{
   if (argc >= 2)
   { 
      int i;
      for (i = 1; i < argc; i++)
         printf ("\nHaalloo! %s", argv[i]);
   }
   else
      printf ("\nForgot to key in something?");

   return 0;
}
Passing command line arguments to main() through...
Senior Member
Posted in GNU GDB
Views 11372 Comments 3 TheIndependentAquarius is offline
Old

samba Account with LDAP in Centos 6

Posted 01-09-2012 at 09:07 AM by unni.kpr@gmail.com

Please Help I am using Centos 6. I wanted to configure samba to use ldap account as i am using LDAP for SVN .
Regards
Unnikrishnan P R
unni.kpr@gmail.com

Thanks in Advance
LQ Newbie
Posted in Uncategorized
Views 4806 Comments 1 unni.kpr@gmail.com is offline
Old

To copy the Content of web in unix file.

Posted 01-09-2012 at 01:42 AM by azheruddin

Hi,
I have one quey iam hitting one URL in browser its giving a expected output,but when iam trying through SSH then its connecting to that site but not able to copy the content of that file.
I need that browser contents in one file,i want to apply some manipulation on that one,these contents are in XMl and changes daily so daily i need that content so i can perform some operation and get a desired result,but iam not getting the contents in UNix Environment,so anyone can help...
Member
Posted in Uncategorized
Views 332 Comments 0 azheruddin is offline
Old

Computer Industry is in trouble

Posted 01-08-2012 at 04:55 PM by MystikMitch

I have settled for kde debian on my other machine. I'm however worried more about another topic. http://www.amazon.com/Future-Interne...N%3D0300124872

I believe this is to be true even though I have not read the book and only the description. http://carpetbomberz.com/2011/12/19/the-pc-is-dead/

This guy makes perfect sense I must...
Member
Posted in Uncategorized
Views 9955 Comments 3 MystikMitch is offline
Old

initramfs Emergency Shell

Posted 01-07-2012 at 10:19 PM by Bratmon

When moving my system between drives today, I forgot to change the entry for / in /etc/fstab .
When booting, it couldn't find / , so it dropped me to the initramfs emergency shell.
I solved my problem from that shell.
I belive this is the first time a problem was solved in that shell in all recorded history.
Member
Posted in Uncategorized
Views 641 Comments 0 Bratmon is offline

  



All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration