Locate

DAILY(8) - System Manager's Manual

Accton, Fsck, Makewhatis, Calendar, Locate, Crontab, Sa, Security, Whatis, Dump, Yp, Cron, Ac, Rdist, Daily

DAILY(8) - System Manager’s Manual # DAILY(8) - System Manager’s Manual NAME # daily, weekly, monthly - periodic system maintenance DESCRIPTION # The three files /etc/daily, /etc/weekly, and /etc/monthly are shell scripts run on a periodic basis by the clock daemon, cron(8). They take care of some basic administrative tasks. Their output, if any, is mailed to root. Note: The scripts are all run as part of root’s crontab(5). However, it is strongly suggested that the root mail account be an alias that forwards messages to a real user or set of users. ...

FIND(1) - General Commands Manual

Whereis, Ls, Stat, Locate, Symlink, Chmod, Chflags, Glob, Fts_open, Xargs, Which, Find

FIND(1) - General Commands Manual # FIND(1) - General Commands Manual NAME # find - walk a file hierarchy SYNOPSIS # find [-dHhLXx] [-f path] path … [expression] DESCRIPTION # find recursively descends the directory tree for each path listed, evaluating an expression (composed of the “primaries” and “operators” listed below) in terms of each file in the tree. In the absence of an expression, -print is assumed. If an expression is given, but none of the primaries -delete, -exec, -execdir, -ls, -ok, -print, or -print0 are specified, the given expression is effectively replaced by ( given expression ) -print. ...

HIER(7) - Miscellaneous Information Manual

Whereis, Locate, Whatis, Find, Apropos, Which, Hier

HIER(7) - Miscellaneous Information Manual # HIER(7) - Miscellaneous Information Manual NAME # hier - layout of filesystems DESCRIPTION # A sketch of the filesystem hierarchy. / Root directory. /altroot/ Alternate (backup) location for the root (’/’) filesystem (see daily(8)). /bin/ User utilities fundamental to both single and multi-user environments. These programs are statically compiled and therefore do not depend on any system libraries to run. /bsd Pure kernel executable (the operating system loaded into memory at boot-time). ...

LOCATE.MKLOCATEDB(8) - System Manager's Manual

Locate, Locate.updatedb, Locate-Mklocatedb

LOCATE.MKLOCATEDB(8) - System Manager’s Manual # LOCATE.MKLOCATEDB(8) - System Manager’s Manual NAME # locate.mklocatedb - create locate database SYNOPSIS # locate.mklocatedb [-presort] DESCRIPTION # locate.mklocatedb reads a list of filenames (one per line) from standard input and creates a database usable by locate(1) on standard output. It is typically run by locate.updatedb(8), but it can be used independently to generate a database from any list of paths. The options are as follows: ...

LOCATE.UPDATEDB(8) - System Manager's Manual

Locate, Find, Locate.mklocatedb, Weekly, Locate-Updatedb

LOCATE.UPDATEDB(8) - System Manager’s Manual # LOCATE.UPDATEDB(8) - System Manager’s Manual NAME # locate.updatedb - update locate database SYNOPSIS # locate.updatedb [--fcodes=dbfile] [--filesystems='type …'] [--prunepaths='dir …'] [--searchpaths='dir …'] [--tmpdir=dir] DESCRIPTION # locate.updatedb updates the database used by locate(1). It is typically run once a week by the weekly(8) script. The options are as follows: --fcodes Output to an alternate database file instead of the default /var/db/locate.database. If ‘-’ is specified in place of the file name, send the database to the standard output. ...

LOCATE(1) - General Commands Manual

Locate.updatedb, Find, Fnmatch, Weekly, Locate

LOCATE(1) - General Commands Manual # LOCATE(1) - General Commands Manual NAME # locate - find filenames quickly SYNOPSIS # locate [-bciS] [-d database] [-l limit] pattern … DESCRIPTION # The locate utility searches a database for all pathnames which match the specified pattern. By default, the database is recomputed weekly(8) and contains the pathnames of all files which are publicly accessible. Shell globbing and quoting characters (’\*’, ‘?’, ‘\’, ‘[’, and ‘]’) may be used in pattern, although they will have to be escaped from the shell. ...

PKG_MKLOCATEDB(1) - General Commands Manual

Locate, Pkg_info, Pkg-Mklocatedb

PKG_MKLOCATEDB(1) - General Commands Manual # PKG_MKLOCATEDB(1) - General Commands Manual NAME # pkg_mklocatedb - create a locate database for packages SYNOPSIS # pkg_mklocatedb [-aKnPqu] [-d repository] [-p portsdir] [pkg-name …] DESCRIPTION # The pkg_mklocatedb command is used to create a file database for binary packages, which can be searched using the locate(1) utility. Entries created for each package will have the package name prepended: kdelibs-3.3.2p2:/usr/local/bin/meinproc. If the -p option is used, and SUBDIRLIST is not defined, pkg_mklocatedb will retrieve all package entries from the ports tree. ...

WHEREIS(1) - General Commands Manual

Locate, Find, Apropos, Which, Whereis

WHEREIS(1) - General Commands Manual # WHEREIS(1) - General Commands Manual NAME # whereis - locate programs SYNOPSIS # whereis [-a] name … DESCRIPTION # The whereis utility checks the standard binary directories for the specified name, printing out the paths of any it finds that are executable by the user. The path searched is: /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin If the -a flag is given, whereis will return a list of all matches instead of just the first match. ...

WHICH(1) - General Commands Manual

Whereis, Locate, Find, Environ, Csh, Which

WHICH(1) - General Commands Manual # WHICH(1) - General Commands Manual NAME # which - locate a program file (or files) in the path SYNOPSIS # which [-a] name … DESCRIPTION # which takes a list of names and looks for the files which would be executed had these names been given as commands. Each argument is searched for along the user’s path. If the -a flag is given, which will return a list of all matches instead of just the first match. ...