02-06-2002
Maybe something like would work for you:
find /dir -type f -exec grep "some string" {} \;
Simply replace "/dir" and "some string" to your needs...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm new in this..
I want to install SCO Unix in a Intel 166Mhz with 1GB HDD.
I have the fowllowing disks with labels:
-1 disk of SCO Unix System v/386 Operation system Installation.
-2 disks of SCO Unix System v/386 Operation system (extended Utilities)
-6 disks of SCO Unix System v/386... (1 Reply)
Discussion started by: jimmyvaldes
1 Replies
2. UNIX for Dummies Questions & Answers
where can i get a boot diskette for my old SCO UNIX V/386 (3 Replies)
Discussion started by: LEO P. CAPARAS
3 Replies
3. SCO
anyone know where I can download or get a boot disk for sco unix v/386? I have an old PC running sco unix v/386 3.2. I dont have an install or boot disk. I need to reset the root password. I have looked all over the internet and cannot find it anywhere. any help would be greatly appreciated.... (5 Replies)
Discussion started by: format
5 Replies
4. SCO
Hi i have a problem after boot with N1 disk and putting N2 disk and pressing the enter in this message:Insert N2(filesystem) floppy and press after by this(pressing enter) the system is reboot!! why??? :confused:
my old pc is a Pentium II 333mhz 3gb hd 64mb ram
please help!! :( (3 Replies)
Discussion started by: panos_pit
3 Replies
5. SCO
Hi to all! I'm new here.
Recently I bought an Olivetti M400/10 with SCO System V/386 R3.2 V4.0 installed, complete with all disks and manuals.
Checking the distribution disks however I found that disk labeled B2 was unreadable. Does anyone have an image of this disk?
I wish to do a clean... (7 Replies)
Discussion started by: wisechip
7 Replies
6. UNIX for Advanced & Expert Users
we have NCR 3455 system from long time as attached all information for server (images) , so we need your help to assist us to get root password which lost it , really we appreciate your efforts if you can send us the procedure for resting the administrator (root) password which this server... (0 Replies)
Discussion started by: univoip
0 Replies
7. UNIX for Dummies Questions & Answers
UNIX sco release 5.05 system does not boot:cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/bootWhat to do? (2 Replies)
Discussion started by: Joaoalpande
2 Replies
8. SCO
UNIX sco release 5.05 system does not boot:
cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/boot
what to do? (1 Reply)
Discussion started by: Joaoalpande
1 Replies
9. UNIX for Advanced & Expert Users
UNIX sco release 5.05 system does not boot:
cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/boot
what to do? (5 Replies)
Discussion started by: Joaoalpande
5 Replies
LEARN ABOUT OPENSOLARIS
dirfd
dirfd(3C) Standard C Library Functions dirfd(3C)
NAME
dirfd - get directory stream file descriptor
SYNOPSIS
#include <dirent.h>
int dirfd(DIR *dir);
DESCRIPTION
The dirfd() function returns the file descriptor associated with the directory stream dir.
This file descriptor is the one used internally by the directory stream operations. See opendir(3C), closedir(3C), readdir(3C), rewind-
dir(3C), seekdir(3C), telldir(3C). The file descriptor is automatically closed when closedir() is called for the directory stream dir or
when one of the exec functions is called. See exec(2).
The file descriptor can safely be used only by functions that do not depend on or alter the file position, such as fstat(2) and fchdir(2).
Closing the file descriptor with close(2) or modifying the file position by means other than the directory stream operations listed above
causes undefined behavior to occur when one of the directory stream operations is subsequently called with the directory stream dir.
RETURN VALUES
Upon successful completion, the dirfd() function returns an open file descriptor for the directory associated with the directory stream
dir.
ERRORS
There are no defined error returns. Passing an invalid directory stream as an argument to the dirfd() function results in undefined behav-
ior.
USAGE
The dirfd() function is intended to be used to obtain a file descriptor for use with the fchdir() function.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
close(2), exec(2), fchdir(2), fstat(2), closedir(3C), opendir(3C), readdir(3C), rewinddir(3C), seekdir(3C), telldir(3C), attributes(5)
SunOS 5.11 24 Oct 2007 dirfd(3C)