Search Results

Search: Posts Made By: Kaminski
Forum: Programming 09-10-2008
3,175
Posted By Kaminski
...
This way the program works, but how can i send a message from process pid1 to his parent? I must open a new queue? Any suggestions? Thanks


#include <stdlib.h>
#include <unistd.h>
#include...
Forum: Programming 09-09-2008
3,175
Posted By Kaminski
[C] Problem with IPC
Hi! I'm trying to write this program: in my intentions it should get a message and send it to a second process (pid_upost), then to a third process (pid1, pid2, pid3, depending on the choice made...
6,295
Posted By Kaminski
extracting first 1000 lines containing "home"...
Hi! It's possible to extract from a file the first 1000 (for example) lines containing the word "home"? I can use grep to extract all the lines, but i don't know how to save only the first 1000...
5,396
Posted By Kaminski
test a string...
Hi! I'm using

echo $string | grep "[^0-9]" -c

to test in a script if a string is a number and it seems to work. But how can i find, for example, if a string is a four figures number ?
...
1,564
Posted By Kaminski
Test....
hi! it's possible to test if a user exist or not? does exist something like -d for directories? i thought i could use getenv but i don't know how to use it for this purpose...

how can i verify if...
3,071
Posted By Kaminski
the problem is that i need it for a script; it...
the problem is that i need it for a script; it should be something like this:

#!/bin/bash
clear
read date #mm/dd/YYYY
find -option $date

it's possible to do this kind of things?
3,071
Posted By Kaminski
searching a file by date...
It's possible to use "find" to search a file that was modified for example between 5/10/2004 and 7/11/2005? How can i do this? I saw there is option -mtime, but i don't understand how to use it in...
1,831
Posted By Kaminski
file searching...
Hi! i'm trying to do a script (i'm not an expert, as you will see...:o) to search files in a directory (and its subdirectories). I'd like to have something like this:

mysearch -a arg1 -b arg2 -c...
Showing results 1 to 8 of 8

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