Search Results

Search: Posts Made By: scmay
6,937
Posted By scmay
Pipe, interprocess communication
Earlier I posted a question regarding this issue. I managed to go a step further. Anyway, this is another similar question

Write a programme that creates a ring of three processes connected by...
1
Ipc
2,204
Posted By scmay
Ipc
I have a parent that is passing data to child A and then child A has to process it and pass to child B. I am able to pass the data to child A but am not able to pass it to child B. Child B seems to...
12,388
Posted By scmay
solution
I wrote the solution, but I don't understand how it really works.

#include <sys/types.h>
#include <unistd.h>
#define MSGSIZE 16
main(int argc, char *argv[])
{
pid_t pid;
int p1[2];
int...
12,388
Posted By scmay
Interprocess communication using pipes and fork
I'm very worried. I have an assignment that is due in 3 weeks, and also tute exercises which I can't seem to understand and work out.

Okay, the question:
The parent process will convert the...
7,343
Posted By scmay
cool. thanks, it works.
cool. thanks, it works.
7,343
Posted By scmay
makefile
Hi,

I've searched for makefile in Google and read the pages and tried, but can't seem to understand or get the results as shown in the examples. Can someone help on this?

i normally compile my...
1,928
Posted By scmay
cool. thx :D
cool. thx :D
1,928
Posted By scmay
Deleting an unusual file
Hi everyone,

I was doing some practising with Unix and accidentally created a file with the name --------------------

Yeah, it was UNINTENTIONALLY. I tried removing it various ways like
rm...
2,988
Posted By scmay
Hi, just looked at your code and thought about...
Hi, just looked at your code and thought about the logic.

if (reference==no) then

you might want to do it like this

if (reference=="no") then since you are comparing to a string.
Also, if I...
3,381
Posted By scmay
Argument not recognized as integer
I need to accept a number of arguments at command line and print it in reverse order

i use eval `echo x=$1` to capture the argument

#! /bin/sh
counter=0
while [ $# -ne 0 ]
do
eval...
36,194
Posted By scmay
re:
opps. forgot to mention I am using Bourne Shell.sorry!
36,194
Posted By scmay
How do I test whether that is a binary file?
Hi, I tried locating my book for the keyword to test whether the file is a binary file but I can't find it under test.

Anyone any idea what the key letter is ?:(
28,644
Posted By scmay
Re:
can you explain the \( ! -name . -prune \) ? Don't really understand that portion. Prune itself means not finding in its directory, but then ! -name . also means not to find in its own directory,...
28,644
Posted By scmay
find command
Hi,
I would need to find for files modified more than one day only in the current directory specified and NOT its subdirectories included.

How do I do this?
3,586
Posted By scmay
comparing 2 dates in Bourne shell
HI,

I am able to find days difference using FIND command. However it is comparing between today and the last time it was modified.

I now need to find the difference between a date specified by...
Showing results 1 to 15 of 15

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