Search Results

Search: Posts Made By: Ahmed waheed
5,548
Posted By Ahmed waheed
the command not :work as -bash-3.00$ sed -ri...
the command not :work as

-bash-3.00$ sed -ri '1/s/(.*)/"my text"\1/' myfile
sed: illegal option -- r
5,548
Posted By Ahmed waheed
Add one text line in the head of the file
hello,
how can I add one text line string at the line number one of a file.

thankx,
Forum: Solaris 02-23-2010
2,742
Posted By Ahmed waheed
Add item to crontab
hi,
how can I add a new value to crontab file using a script not using the command " crontab -e " .
ex:

echo " 10 10 * * * " >> /var/spoll/cron/crontabs/<username>

how can I do that in a...
Forum: Solaris 02-10-2010
1,413
Posted By Ahmed waheed
parse utility options
how can I make options to my script as:
myscript.sh -s abc -f filename -v value
if there is an easy way and efficient to do that issue ?
plz advice.
Forum: Infrastructure Monitoring 09-01-2009
4,148
Posted By Ahmed waheed
SNMP protocol
dear friends ,
how can I use the SNMP protocol to monitor the network and send notification alerts to the clients which have windows machines.
I found the utility snmp_trapsend at the directory...
Forum: Programming 06-08-2009
2,491
Posted By Ahmed waheed
thanks for your help -----Post Update----- ...
thanks for your help

-----Post Update-----

thanks for your help
Forum: Programming 06-03-2009
3,233
Posted By Ahmed waheed
I think the problem in this part of code : if (...
I think the problem in this part of code : if ( FAILURE == updateDP( lupdatestruct,localstruct)) {
return FAILURE;
}


because if the if statement not satisfied ,the excusion
will not end due...
Forum: Programming 06-03-2009
2,491
Posted By Ahmed waheed
SCSI interfacing by C
how can I make interfacing with the SCSI controller on linux system using C language to send or recieve data via this SCSI port like I made with serial port and socket ???:confused:
how can I deal...
Forum: AIX 06-02-2009
5,625
Posted By Ahmed waheed
cu command
I have AIX OS but this OS not has the " cu " command which allow me to connect to serial port .??
how can I get this command for " AIX 3 " OS,or is there are any equivalent command do the same...
Forum: Programming 04-09-2009
3,056
Posted By Ahmed waheed
the server's IP address should be in the hosts...
the server's IP address should be in the hosts file .
check it in /etc/hosts or /usr/hosts .
Forum: Programming 04-02-2009
4,525
Posted By Ahmed waheed
thank you Gautamdheeraj I appreciate your help . ...
thank you Gautamdheeraj I appreciate your help .
Is this book available and free on the internet ???
Forum: AIX 04-02-2009
11,770
Posted By Ahmed waheed
C++ compiler for AIX
please I want a help to how can I get C++ compiler to AIX OS.
Forum: Programming 04-02-2009
2,667
Posted By Ahmed waheed
you can go to CodeProject. Free source code and...
you can go to CodeProject. Free source code and programming help (http://www.codeproject.com) you will find your answer.
Forum: Programming 04-02-2009
40,427
Posted By Ahmed waheed
you can use fork or exec as posted by Pludi
you can use fork or exec as posted by Pludi
Forum: Programming 04-02-2009
4,803
Posted By Ahmed waheed
you can use this working code : void...
you can use this working code :

void etherSetup(char *strIP,int nPort)
{
unsigned long ip;

if((*strIP <= '9') && (*strIP >= '0'))
{
if( (int)(ip = inet_addr(strIP)) == -1 )
{...
Forum: Programming 04-02-2009
4,525
Posted By Ahmed waheed
how can I use the functions setsockopt() and...
how can I use the functions setsockopt() and ioctl() in my code ???!!
Forum: Programming 03-19-2009
4,525
Posted By Ahmed waheed
open a socket
hi all,
i meet a problem when opening a socket, is that when the remote host not available or its port hanged ,my program still suspending untill i cancel the operation...
but when the host is ok...
Showing results 1 to 17 of 17

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