Search Results

Search: Posts Made By: narendra.pant
Forum: Solaris 07-16-2008
6,083
Posted By narendra.pant
thanks incredible:b: but this is not what i am...
thanks incredible:b: but this is not what i am asking. i am saying that when we disconnect the device using cfgadm. it disappears from the HAL output . check in lshal it will not be there. but we can...
Forum: Solaris 07-15-2008
6,083
Posted By narendra.pant
How to check that a device is attached on a port
Q1: can anyone tell me how cfgadm keeps track of the device even if the device is disconnected ,

when we disconnect a device using cfgadm
cfgadm -ys disconnect <ap_id>

then the device...
Forum: Programming 11-15-2007
4,678
Posted By narendra.pant
why the second printf in main is being executed after pressing CTRL \
#include<stdio.h>
#include<signal.h>
void suicide();
main()
{
printf("use CTRL \\ for exiting \n");
printf("iiiiiiiiiiiiiis");
//signal(SIGINT,SIG_DFL);
signal(SIGQUIT,suicide);
for (;;);...
Forum: Programming 11-15-2007
4,678
Posted By narendra.pant
thanks porter .. i m using fedora core 7 ,,it...
thanks porter .. i m using fedora core 7 ,,it seems that it doesn't need the signal handler to be called again.
Forum: Programming 11-15-2007
4,678
Posted By narendra.pant
ya a \n in the printf worked ,, Porter ,, can...
ya a \n in the printf worked ,, Porter ,, can you tell me what was the problem ,, and now pressing CTRL \ first time is printing the message ,, but pressing it for the second time must quit it , i e...
Forum: Programming 11-15-2007
4,678
Posted By narendra.pant
problem with signal()
#include<signal.h>
void suicide();
main()
{
printf("use CTRL \\ for exiting \n");
//signal(SIGINT,SIG_DFL);
signal(SIGQUIT,suicide);
for (;;);
}

void suicide()
{ printf("hello here you r...
3,690
Posted By narendra.pant
:)
thanks ,, yeah its workin ,, ,, i m gng to read bout awk now
3,690
Posted By narendra.pant
extracting a line based on line number
i want to cut all the entries from the /etc/passwd file in which the uid is> 500

for this i was writing this ,m quiet new to all this.. scripting

but on the 6th n 8th line ,, i hav to...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 08:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy