Search Results

Search: Posts Made By: rocky_74
6,769
Posted By rocky_74
try this command grep "expression" filename...
try this command

grep "expression" filename | & tee log

This work for all command , one output will redirected to standard output which is screen and another in the file name log.

rajesh
Forum: Programming 01-25-2006
3,758
Posted By rocky_74
try this peice of code The buffer from...
try this peice of code

The buffer from parent will be flushed all before the child will be called.

int main(void) {

int i;
pid_t pidp;

for (i=0;i<4;i++) {
switch (pidp=fork()) {
case...
2,894
Posted By rocky_74
you are using ...
you are using

DIR1="/home/pavi/cvs/20071426/TEMP"

echo " DIR1 is : " $DESTDIR1

echo "Directory exits"
rm -rf $DIR1
echo "dir1 deleted "

just look at DIR1 this is...
7,484
Posted By rocky_74
may be rcp can help you. In case of rcp you have...
may be rcp can help you. In case of rcp you have to created the username entry in the .rhost file in the destination machine for the source machine.

The entry is like
username + machine in the...
Forum: Programming 01-23-2006
4,789
Posted By rocky_74
There is no such build in function avaliable in...
There is no such build in function avaliable in C.

Your requirement is also not clear to me what do you want whether you want to replace "/" or "\".

In C you can write a regular expression to...
Forum: Programming 01-23-2006
3,514
Posted By rocky_74
there is no possible function avaliable in C to...
there is no possible function avaliable in C to find it out.
Forum: Programming 01-23-2006
1,875
Posted By rocky_74
try this code for fork #include <stdio.h> ...
try this code for fork
#include <stdio.h>
void main()
{

int i ;

printf("The pid of the parent is :%d \n",getpid());

i = fork();
if ( i == 0 )
{
printf("The child pid is :%d ...
9,911
Posted By rocky_74
please check the crobtab menu to add the crontab...
please check the crobtab menu to add the crontab entry the explation is more or less like this
#1st field: minute (0-59),
#2nd field: hour (0-23),
#3rd field: day of the month (1-31),
#4th...
Forum: Programming 01-23-2006
1,781
Posted By rocky_74
if you don't close all file pointer and exit then...
if you don't close all file pointer and exit then all file pointer will be closed after the process exit.
Forum: Programming 01-23-2006
5,254
Posted By rocky_74
function call in executable
Hi,
I want to write a program in C or in Perl which will tell me that a function is called in which executables.
I tried to use the unix command like 'nm', 'strings' and so on to find out...
Showing results 1 to 10 of 10

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