11-29-2011
Locate equivalent in UNIX
Hi All,
I am a frequent user of loacate in linux and really impressed with its speed and accuracy.
I would like to know if there is any such equivalent in UNIX. (not the find, which is relatively very slow)
Any locate packages which can be made available in UNIX(HP-UX) for this?
TIA,
Pradeep.
Last edited by pradebban; 11-29-2011 at 01:11 PM..
Reason: flavour of unix added
10 More Discussions You Might Find Interesting
1. Programming
Hi,
Is there any unix equivalents available for the folllowing windows function ?
FindFirstFile
FindNextFile etc.....
Or do i have to write an equivalent api??
Can anybody help me to do the same??
thanks in advance
Ani (2 Replies)
Discussion started by: ani
2 Replies
2. UNIX for Advanced & Expert Users
I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform. (1 Reply)
Discussion started by: anjan_kumar_k
1 Replies
3. Programming
I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform. (2 Replies)
Discussion started by: anjan_kumar_k
2 Replies
4. Solaris
Does Solaris 10 have an equivalent to FreeBSD's `locate'?
If not, what is the best way to search for files (allowing regexp) throughout the system? (5 Replies)
Discussion started by: Russell
5 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
what is the equivalent command of the DOS set that lists all the environment variable and their values?
Xavier. (3 Replies)
Discussion started by: xxavier
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a shell variable which has a value 123456:abcdeg. I want to extract the value which is present before ":". Is there any command in Unix through which I can achieve this. Please suggest.
Thanks,
Saurabh (7 Replies)
Discussion started by: saurabhsinha23
7 Replies
7. UNIX for Advanced & Expert Users
In IBM Mainframe they have something called ACF2 rule which is essentially used to control the dataset access. It is kind of a list-based access control for mainframe datasets.
Is there anything equivalent to ACF2 available in Unix ?
Thanks
Rabi (1 Reply)
Discussion started by: indra_saha
1 Replies
8. HP-UX
Hi All,
I am comfortable working in LINUX and need equivalents for HP-UX for below mentioned,
1. We use TAB key to expand/reveal a name in LINUX. Is there any way to make this work for UNIX, where it is double escape.
2. Also can we use make use of left,down,up,right keys instead... (3 Replies)
Discussion started by: pradebban
3 Replies
9. Solaris
At the moment we are integrating LDAP in our environment.
Compared to Windows this process is much complicated and time consuming.
With Windows you had Active Directory and if you create a new server, you just add it to the domain and your finished.
Yes, I know Unix is not Windows.
Are there... (1 Reply)
Discussion started by: misterx12345
1 Replies
10. Shell Programming and Scripting
I have a folder called "log" which has a few sub-folders say "fda" "fd7" "fdd" "fd6 .... "
I wish to fire the below command inside each subfolder starting with the folder with the latest time stamp.
grep "$greptime.*exit" Prod.$(hostname).log | grep $fdrdate_new
If the seach did not yield... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT OSX
net::server::proto::unix
Net::Server::Proto::UNIX(3) User Contributed Perl Documentation Net::Server::Proto::UNIX(3)
NAME
Net::Server::Proto::UNIX - Net::Server UNIX protocol.
SYNOPSIS
See Net::Server::Proto.
DESCRIPTION
Protocol module for Net::Server. This module implements the UNIX SOCK_STREAM socket type. See Net::Server::Proto.
Any sockets created during startup will be chown'ed to the user and group specified in the starup arguments.
PARAMETERS
The following paramaters may be specified in addition to normal command line parameters for a Net::Server. See Net::Server for more
information on reading arguments.
unix_type
Can be either SOCK_STREAM or SOCK_DGRAM (default is SOCK_STREAM). This can also be passed on the port line (see Net::Server::Proto).
However, this method is deprecated. If you want SOCK_STREAM - just use proto UNIX without any other arguments. If you'd like
SOCK_DGRAM, use the new proto UNIXDGRAM.
METHODS
NS_unix_path/NS_unix_type
In addition to the standard NS_ methods of Net::Server::Proto classes, the UNIX types also have legacy calls to NS_unix_path and
NS_unix_type.
Since version 2.000, NS_unix_path is simply an alias to NS_port. NS_unix_type is now redundant with NS_proto.
These methods were missing between version 2.000 and 2.003 but have been returned as legacy bridges.
QUICK PARAMETER LIST
Key Value Default
# deprecated UNIX socket parameters
unix_type (SOCK_STREAM|SOCK_DGRAM) SOCK_STREAM
port "filename" undef
# more recent usage
port "filename / UNIX"
port "filename / UNIXDGRAM"
LICENCE
Distributed under the same terms as Net::Server
perl v5.16.2 2012-06-06 Net::Server::Proto::UNIX(3)