LinuxQuestions.org
Review your favorite Linux distribution.
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 06:12 AM by Aquarius_Girl
Updated 02-03-2012 at 05:32 AM by Aquarius_Girl (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 18581 Comments 3 Aquarius_Girl is offline
Old

samba Account with LDAP in Centos 6

Posted 01-09-2012 at 08: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 5854 Comments 1 unni.kpr@gmail.com is offline
Old

To copy the Content of web in unix file.

Posted 01-09-2012 at 12: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 692 Comments 0 azheruddin is offline
Old

Computer Industry is in trouble

Posted 01-08-2012 at 03: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 16383 Comments 3 MystikMitch is offline
Old

initramfs Emergency Shell

Posted 01-07-2012 at 09: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 1243 Comments 0 Bratmon is offline

  



All times are GMT -5. The time now is 09:05 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
Open Source Consulting | Domain Registration