Search Results

Search: Posts Made By: davidoff
Forum: Programming 03-26-2006
7,135
Posted By davidoff
Fork() system call time?
One more question. How can i calculate the time that system needs to make fork() system call? I need to make it with times function but i really don't know how. :(
Forum: Programming 03-26-2006
1,843
Posted By davidoff
Ok i have change that. But my code still don't do...
Ok i have change that. But my code still don't do it wright, so please help me. I must get out one parent - one child.
Forum: Programming 03-26-2006
1,843
Posted By davidoff
Need urgent help with fork()
Hy!

I must wrote some code with fork() command. The thing is that i have a while statement which count till 10.

I must wrote a program that one child has only one parent. So one parent has...
34,969
Posted By davidoff
vgersh99 you rock tha place... :cool: And i...
vgersh99 you rock tha place... :cool:

And i hope last thing that i will ask you...If i don't input nothining in terminal for a directory, how can i make that this program will search current...
34,969
Posted By davidoff
Thats true! :) I have tried your code Mr....
Thats true! :)

I have tried your code Mr. vgersh99. It's working ok. But i must read a directory from a terminal and then count files of the given directory.

Ok here is my code:

echo...
34,969
Posted By davidoff
Yes but i need that code in linux shell script....
Yes but i need that code in linux shell script. I'm only beginning shell scripting i don't now much about it...Thanx
34,969
Posted By davidoff
Yes but i don't know how to use wc command in a...
Yes but i don't know how to use wc command in a for loop on all files. I tried butt i have not managed to make it.

Example: I have 5 files in a directory. And i want to count their average lines....
34,969
Posted By davidoff
Count files lines in a directory?
Hy!

I have some problem. Problem is that i don't now how to solve problem of average lines of files in a directory.

I have managed to get number of files in a directory, but i don't know the...
Showing results 1 to 8 of 8

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