I want to pass arguments to a sh program and I want to use these arguments in the program as variables?
Will I use argc and argv in a main function can anyone around me write the full code please
for example when I write in th command
sh myprogram.sh argument1 argument2
I want to use... (1 Reply)
Write a nawk script that will produce the following report:
***FIRST QUARTERLY REPORT***
***CAMPAIGN 2004 CONTRIBUTIONS***
-------------------------------------------------------------------------
NAME PHONE Jan | ... (5 Replies)
Hi,
Im wondering, if I do a restart of my lpd service, will it clear the print queue? Or will the file in queue will still be there after the restart?
Thank you (1 Reply)
Hi,
Can you please clear me the difference between restarting the daemon and the service. To be more clear,
/etc/init.d/mysqld restart
and
/etc/init.d/mysqld restart
What is the difference on this both two?..... (4 Replies)
on my sol10x86 10/08 box, i needed to remove the native snmp agent (sma) for net-snmp-5.4.2.1. once net-snmp was configured and installed, i reconfigured the appropriate files of smf and attempted to restart. service was put into maintenance mode:
... (1 Reply)
Hello everyone!
I am new here and by new i don't mean only in this place, but in this shell scripting area. I started learning about Operation Systems only 2 months ago.
I want to learn more but i found a problem which I don't really know how to solve. :confused:
I have a directory with 4... (2 Replies)
Hi,
I'm new to Solaris. I have an issue with ssh service. When I restart the service it exits with an exit status of 0
$svcadm restart svc:/network/ssh:default
$echo $?
0
$
However, the service goes into maintenance mode after restart. I'm able to connect even though the service is in... (3 Replies)