command
stringlengths
1
42
description
stringlengths
29
182k
name
stringlengths
7
64.9k
synopsis
stringlengths
4
85.3k
options
stringclasses
593 values
examples
stringclasses
455 values
unzip
unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the current directory (and subdirectories below it) all files from the specified ZIP archive. A companion program, zip(1L), creates ZIP archives; both programs are co...
unzip - list, test and extract compressed files in a ZIP archive
unzip [-Z] [-cflptTuvz[abjnoqsCDKLMUVWX$/:^]] file[.zip] [file(s) ...] [-x xfile(s) ...] [-d exdir]
Note that, in order to support obsolescent hardware, unzip's usage screen is limited to 22 or 23 lines and should therefore be considered only a reminder of the basic unzip syntax rather than an exhaustive list of all possible flags. The exhaustive list follows: -Z zipinfo(1L) mode. If the first option on the com...
To use unzip to extract all members of the archive letters.zip into the current directory and subdirectories below it, creating any subdirectories as necessary: unzip letters To extract all members of letters.zip into the current directory only: unzip -j letters To test letters.zip, printing only a summary message indi...
db_stat
The db_stat utility utility displays statistics for Berkeley DB environments. The options are as follows: -C Display internal information about the lock region. (The output from this option is often both voluminous and meaningless, and is intended only for debugging.) A Display all information. c Display lock conflict ...
db_stat
db_stat -d file [-fN] [-h home] [-P password] [-s database] db_stat [-celmNrtVZ] [-C Aclmop] [-h home] [-M Ahm] [-P password]
null
null
rmiregistry
The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If the port is omitted, then the registry is started on port 1099. The rmiregistry command produces no output and is typically run in the background, for example: rmiregistry & A remote object registry is a b...
rmiregistry - create and start a remote object registry on the specified port on the current host
rmiregistry [options] [port]
This represents the option for the rmiregistry command. See port The number of a port on the current host at which to start the remote object registry. -Joption Used with any Java option to pass the option following the -J (no spaces between the -J and the option) to the Java interpreter. JDK 22 2024 RMIRE...
null
json_pp
json_pp converts between some input and output formats (one of them is JSON). This program was copied from json_xs and modified. The default input format is json and the default output format is json with pretty option.
json_pp - JSON::PP command utility
json_pp [-v] [-f from_format] [-t to_format] [-json_opt options_to_json1[,options_to_json2[,...]]]
-f -f from_format Reads a data in the given format from STDIN. Format types: json as JSON eval as Perl code -t Writes a data in the given format to STDOUT. null no action. json as JSON dumper as Data::Dumper -json_opt options to JSON::PP Acceptable options are: ascii latin1 utf8 pretty indent space_before space_after r...
$ perl -e'print q|{"foo":"あい","bar":1234567890000000000000000}|' |\ json_pp -f json -t dumper -json_opt pretty,utf8,allow_bignum $VAR1 = { 'bar' => bless( { 'value' => [ '0000000', '0000000', '5678900', '1234' ], 'sign' => '+' }, 'Math::BigInt' ), 'foo' => "\x{3042}\x{3044}" }; $ perl -e'print q|{"foo":"あい","bar":12345...
test-yaml
null
null
null
null
null
ptardiff5.30
ptardiff is a small program that diffs an extracted archive against an unextracted one, using the perl module Archive::Tar. This effectively lets you view changes made to an archives contents. Provide the progam with an ARCHIVE_FILE and it will look up all the files with in the archive, scan the current working directo...
ptardiff - program that diffs an extracted archive against an unextracted one
ptardiff ARCHIVE_FILE ptardiff -h $ tar -xzf Acme-Buffy-1.3.tar.gz $ vi Acme-Buffy-1.3/README [...] $ ptardiff Acme-Buffy-1.3.tar.gz > README.patch
h Prints this help message SEE ALSO tar(1), Archive::Tar. perl v5.30.3 2024-04-13 PTARDIFF(1)
null
zprint
zprint displays data about Mach zones (allocation buckets). By default, zprint will print out information about all Mach zones. If the optional name is specified, zprint will print information about each zone for which name is a substring of the zone's name. zprint interprets the following options: -c (Default) zpri...
zprint – show information about kernel zones
zprint [-cdhlLstw] [name]
null
null
kinit
kinit obtains and caches an initial ticket-granting ticket for principal. If principal is absent, kinit chooses an appropriate principal name based on existing credential cache contents or the local username of the user invoking kinit. Some options modify the choice of principal name.
kinit - obtain and cache Kerberos ticket-granting ticket
kinit [-V] [-l lifetime] [-s start_time] [-r renewable_life] [-p | -P] [-f | -F] [-a] [-A] [-C] [-E] [-v] [-R] [-k [-i | -t keytab_file]] [-c cache_name] [-n] [-S service_name] [-I input_ccache] [-T armor_ccache] [-X attribute[=value]] [--request-pac | --no-request-pac] [principal]
-V display verbose output. -l lifetime (duration string.) Requests a ticket with the lifetime lifetime. For example, kinit -l 5:30 or kinit -l 5h30m. If the -l option is not specified, the default ticket lifetime (configured by each site) is used. Specifying a ticket lifetime longer than the maximum ticket lifeti...
null
mib2c
The mib2c tool is designed to take a portion of the MIB tree (as defined by a MIB file) and generate the template C code necessary to implement the relevant management objects within it. In order to implement a new MIB module, three files are necessary: - MIB definition file - C header file - C implementation file. The...
mib2c -- generate template code for extending the agent
mib2c [-h] -c CONFIGFILE [-I PATH] [-f OUTNAME] [-i][-s][-q][-S VAR=VAL] MIBNODE
-h Display a help message. -c CONFIGFILE Use CONFIGFILE when generating code. These files will be searched for first in the current directory and then in the /usr/share directory (which is where the default mib2c configuration files can be found). Running mib2c without the -c CONFIGFILE option will display a desc...
The following generates C template code for the header and implementation files to implement UCD-DEMO-MIB::ucdDemoPublic. % mib2c -c mib2c.scalar.conf ucdDemoPublic writing to ucdDemoPublic.h writing to ucdDemoPublic.c running indent on ucdDemoPublic.h running indent on ucdDemoPublic.c The resulting ucdDemoPublic.c and...
od
The od utility is a filter which displays the specified files, or standard input if no files are specified, in a user specified format. The options are as follows: -A base Specify the input address base. The argument base may be one of d, o, x or n, which specify decimal, octal, hexadecimal addresses or no address...
od – octal, decimal, hex, ASCII dump
od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type] [[+]offset[.][Bb]] [file ...]
null
Dump stdin and show the output using named characters and C-style escaped characters: $ echo "FreeBSD: The power to serve" | od -a -c 0000000 F r e e B S D : sp T h e sp p o w F r e e B S D : T h e p o w 0000020 e r sp t o sp s e r v e nl e ...
bsdtar
tar creates and manipulates streaming archive files. This implementation can extract from tar, pax, cpio, zip, jar, ar, xar, rpm, 7-zip, and ISO 9660 cdrom images and can create tar, pax, cpio, ar, zip, 7-zip, and shar archives. The first synopsis form shows a “bundled” option word. This usage is provided for compati...
tar – manipulate tape archives
tar [bundled-flags ⟨args⟩] [⟨file⟩ | ⟨pattern⟩ ...] tar {-c} [options] [files | directories] tar {-r | -u} -f archive-file [options] [files | directories] tar {-t | -x} [options] [patterns]
Unless specifically stated otherwise, options are applicable in all operating modes. @archive (c and r modes only) The specified archive is opened and the entries in it will be appended to the current archive. As a simple example, tar -c -f - newfile @original.tar writes a new archive to standard output containing a f...
The following creates a new archive called file.tar.gz that contains two files source.c and source.h: tar -czf file.tar.gz source.c source.h To view a detailed table of contents for this archive: tar -tvf file.tar.gz To extract all entries from the archive on the default tape drive: tar -x To examine the contents of an...
perl
Perl officially stands for Practical Extraction and Report Language, except when it doesn't. Perl was originally a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It quickly became a good language for many system manage...
perl - The Perl 5 language interpreter
perl [ -sTtuUWX ] [ -hv ] [ -V[:configvar] ] [ -cw ] [ -d[t][:debugger] ] [ -D[number/list] ] [ -pna ] [ -Fpattern ] [ -l[octal] ] [ -0[octal/hexadecimal] ] [ -Idir ] [ -m[-]module ] [ -M[-]'module...' ] [ -f ] [ -C [number/list] ] [ -S ] [ -x[dir] ] [ -i[extension] ] [ [-e|-E] 'command' ] [ -- ] [ programfile...
null
null
findrule
"findrule" mostly borrows the interface from GNU find(1) to provide a command-line interface onto the File::Find::Rule heirarchy of modules. The syntax for expressions is the rule name, preceded by a dash, followed by an optional argument. If the argument is an opening parenthesis it is taken as a list of arguments, t...
findrule - command line wrapper to File::Find::Rule USAGE findrule [path...] [expression]
null
null
null
tbtdiagnose
Use tbtdiagnose to collect diagnostic information to help with investigation of Thunderbolt issues. macOS Sierra December 7, 2016 macOS Sierra
tbtdiagnose - collects diagnostic information to help troubleshoot Thunderbolt issues.
tbtdiagnose
null
null
mcxquery
mcxquery is a utility to determine the effective managed preferences for a user logging in to a workgroup from a specific computer. -user Specify the short name of the user record to read managed preferences from. If this parameter is omitted, or a value of "=" specified, the short name of the currently logged in conso...
mcxquery – Managed Client (MCX) compositor query tool
mcxquery [options] [-user recordName] [-group recordName] [-computer spec] options: -o path Writes output to a file at the specified path. -format space | tab | xml Specifies the format of the output. -computerOnly Ignore values for -user and -group. -useCache Return the cached computer settings in the local n...
null
mcxquery -user jane -group science -computer lab1_12 Displays the managed preferences that would be in effect if user "jane" logged in using workgroup "science" from the computer specified in the "lab1_12" computer record. mcxquery -user jane -group science -computer 11:22:33:44:55:66 Displays the managed preferences t...
lwp-download
The lwp-download program will save the file at url to a local file. If local path is not specified, then the current directory is assumed. If local path is a directory, then the last segment of the path of the url is appended to form a local filename. If the url path ends with slash the name "index" is used. With the ...
lwp-download - Fetch large files from the web
lwp-download [-a] [-s] <url> [<local path>] Options: -a save the file in ASCII mode -s use HTTP headers to guess output filename
null
null
ppdpo
ppdpo extracts UI strings from PPDC source files and updates either a GNU gettext or macOS strings format message catalog source file for translation. This program is deprecated and will be removed in a future release of CUPS.
ppdpo - ppd message catalog generator (deprecated)
ppdpo [ -D name[=value] ] [ -I include-directory ] [ -o output-file ] source-file
ppdpo supports the following options: -D name[=value] Sets the named variable for use in the source file. It is equivalent to using the #define directive in the source file. -I include-directory Specifies an alternate include directory. Multiple -I options can be supplied to add additional directories. -o output-file...
null
crontab
The crontab utility is the program used to install, deinstall or list the tables used to drive the cron(8) daemon in Vixie Cron. Each user can have their own crontab, and they are not intended to be edited directly. (Darwin note: Although cron(8) and crontab(5) are officially supported under Darwin, their functionalit...
crontab – maintain crontab files for individual users (V3)
crontab [-u user] file crontab [-u user] { -l | -r | -e }
null
null
reset
The tput utility uses the terminfo database to make the values of terminal-dependent capabilities and information available to the shell (see sh(1)), to initialize or reset the terminal, or return the long name of the requested terminal type. The result depends upon the capability's type: string tput writes the string...
tput, reset - initialize a terminal or query terminfo database
tput [-Ttype] capname [parms ... ] tput [-Ttype] init tput [-Ttype] reset tput [-Ttype] longname tput -S << tput -V
null
tput init Initialize the terminal according to the type of terminal in the environmental variable TERM. This command should be included in everyone's .profile after the environmental variable TERM has been exported, as illustrated on the profile(5) manual page. tput -T5620 reset Reset an AT&T 5620 terminal, overriding...
kextutil
The kextutil program is used to explicitly load kernel extensions (kexts), diagnose problems with kexts, and to generate symbol files for debugging kexts. In order to load a kext into the kernel kextutil must run as the superuser; for all other uses it can run as any user. kextutil is the developer utility for kext lo...
kextutil – load, diagnose problems with, and generate symbols for kernel extensions (kexts)
kextutil [options] [--] [kext] ... DEPRECATED The kextutil utility has been deprecated. Please use the kmutil(8) equivalents: kmutil load, or kmutil print-diagnostics.
null
Here are the common uses and usage patterns for kextutil. Basic Loading To load a kext you must run kextutil as the superuser and supply a kext bundle name; no options are required: kextutil TabletDriver.kext Alternatively, you can use the -bundle-id (-b) option to specify a kext by its CFBundleIdentifier: kextutil -b ...
par5.30.pl
null
null
null
null
null
bzcat
bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors. The command-line ...
bzip2, bunzip2 - a block-sorting file compressor, v1.0.8 bzcat - decompresses files to stdout bzip2recover - recovers data from damaged bzip2 files
bzip2 [ -cdfkqstvzVL123456789 ] [ filenames ... ] bunzip2 [ -fkvsVL ] [ filenames ... ] bzcat [ -s ] [ filenames ... ] bzip2recover filename
-c --stdout Compress or decompress to standard output. -d --decompress Force decompression. bzip2, bunzip2 and bzcat are really the same program, and the decision about what actions to take is done on the basis of which name is used. This flag overrides that mechanism, and forces bzip2 to decompress. -z --compress The...
null
dbicadmin
null
dbicadmin - utility for administrating DBIx::Class schemata
dbicadmin: [-I] [long options...] deploy a schema to a database dbicadmin --schema=MyApp::Schema \ --connect='["dbi:SQLite:my.db", "", ""]' \ --deploy update an existing record dbicadmin --schema=MyApp::Schema --class=Employee \ --connect='["dbi:SQLite:my.db", "", ""]' \ --op=update --set='{ "name": "New_Employee" }'
Actions --create Create version diffs needs preversion --upgrade Upgrade the database to the current schema --install Install the schema version tables to an existing database --deploy Deploy the schema to the database --select Select data from the schema --insert Insert data into the schema --update Update data in the...
null
ex
Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. There are a lot of enhancements above Vi: multi level undo, multi windows and buffers, syntax highlighting, command line editing, filename completion, on-line help, visu...
vim - Vi IMproved, a programmer's text editor
vim [options] [file ..] vim [options] - vim [options] -t tag vim [options] -q [errorfile] ex view gvim gview evim eview rvim rview rgvim rgview
The options may be given in any order, before or after filenames. Options without an argument can be combined after a single dash. +[num] For the first file the cursor will be positioned on line "num". If "num" is missing, the cursor will be positioned on the last line. +/{pat} For the first file the cursor will...
null
perlbug
This program is designed to help you generate bug reports (and thank- you notes) about perl5 and the modules which ship with it. In most cases, you can just run it interactively from a command line without any special arguments and follow the prompts. If you have found a bug with a non-standard port (one that was not p...
perlbug - how to submit bug reports on Perl
perlbug perlbug [ -v ] [ -a address ] [ -s subject ] [ -b body | -f inputfile ] [ -F outputfile ] [ -r returnaddress ] [ -e editor ] [ -c adminaddress | -C ] [ -S ] [ -t ] [ -d ] [ -h ] [ -T ] perlbug [ -v ] [ -r returnaddress ] [ -ok | -okay | -nok | -nokay ] perlthanks
-a Address to send the report to instead of saving to a file. -b Body of the report. If not included on the command line, or in a file with -f, you will get a chance to edit the report. -C Don't send copy to administrator when sending report by mail. -c Address to send copy of report to when sendin...
null
jvisualvm
null
null
null
null
null
footprint
The footprint utility gathers and displays memory consumption information for the specified processes or memory graph files. footprint will display all addressable memory used by the specified processes, but it emphasizes memory considered 'dirty' by the kernel for purposes of accounting. If multiple processes are spe...
footprint – gathers memory information about one or more processes
footprint [-j path] [-f bytes|formatted|pages] [--sort column] [-p name|pid] [-x name|pid] [-t] [-s] [-v] [-y] [-w] [--swapped] [--wired] [-a] process-name | pid | memgraph [...] footprint --sample interval ... footprint -h, --help
-a, --all target all processes (will take much longer) -j, --json path also save a JSON representation of the data to the specified path -f, --format bytes|formatted|pages textual output should be formatted in bytes, pages, or human- readable formatted (default) --sort column textual output should be sorted by the give...
null
lsappinfo
null
lsappinfo - Control and query CoreApplicationServices about the app state on the system parentasn pid presentationmode presentationoptions psn recordingAppleEvents session shellpath supressRelaunch version KEY VALUES In numerous places a key can be set to a value. The format of value can be any of the following • "st...
lsappinfo [options] [ command [command options] ] ... COMMON COMMANDS • front Show the front application. • find [ key=value ]+ Show the ASN of all applications which have the given key/value present in their application information. For key the actual CFString value for the key can be used, or any of the aliases d...
• -v | --verbose Be more verbose about many operations • -q | --quiet Be less verbose about many operations • -defaultSession Use kLSDefaultSessionID as the sessionID passed to all calls (the default) • -currentSession Use kLSCurrentSessionID as the sessionID passed to all calls • -debug | -info | -notice | -...
• List all of the running applications lsappinfo list • Show all the notifications which are being sent out lsappinfo listen +all forever • Show the notifications sent out whenever the front application is changed, for the next 60 seconds lsappinfo listen +becameFrontmost wait 60 • Launch TextEdit.app, asyncron...
lwp-download5.34
The lwp-download program will save the file at url to a local file. If local path is not specified, then the current directory is assumed. If local path is a directory, then the last segment of the path of the url is appended to form a local filename. If the url path ends with slash the name "index" is used. With the ...
lwp-download - Fetch large files from the web
lwp-download [-a] [-s] <url> [<local path>] Options: -a save the file in ASCII mode -s use HTTP headers to guess output filename
null
null
db_load
The db_load utility reads from the standard input and loads it into the database file. The database file is created if it does not already exist. The input to db_load must be in the output format specified by the db_dump utility, utilities, or as specified for the -T below. The options are as follows: -c Specify config...
db_load
db_load [-nTV] [-c name=value] [-f file] [-h home] [-P password] [-t btree | hash | queue | recno] file
null
The db_load utility can be used to load text files into databases. For example, the following command loads the standard UNIX /etc/passwd file into a database, with the login name as the key item and the entire password entry as the data item: awk -F: '{print $1; print $0}' < /etc/passwd | sed 's/\/\\/g' | db_load -T -...
fwkdp
Use fwkdp to act as a proxy for the kernel debugging KDP protocol over FireWire. It will also accept kernel core dump images transmitted over FireWire. Additionally, fwkdp can be used to set the boot-args necessary for a target machine which is to be debugged. As a complete technology, FireWireKDP redirects the kernel ...
fwkdp – FireWire KDP Tool
fwkdp [--setargs[=boot-args]] [--proxy] [--core] [--verbose] [--disable] [--erase] [--ioff] [--restart] [--help]
--setargs[=boot-args], -r[boot-args] Sets the nvram boot-args on the current machine to boot-args. This flag should only be used on the target machine (which is contrary to all other usage cases, when it is used on the host). If boot-args is not passed, the tool will prompt the user as to which boot-args are to be set....
null
piconv
piconv is perl version of iconv, a character encoding converter widely available for various Unixen today. This script was primarily a technology demonstrator for Perl 5.8.0, but you can use piconv in the place of iconv for virtually any case. piconv converts the character encoding of either STDIN or files specified i...
piconv -- iconv(1), reinvented in perl
piconv [-f from_encoding] [-t to_encoding] [-p|--perlqq|--htmlcref|--xmlcref] [-C N|-c] [-D] [-S scheme] [-s string|file...] piconv -l piconv -r encoding_alias piconv -h
null
null
read
Shell builtin commands are commands that can be executed within the running shell's process. Note that, in the case of csh(1) builtin commands, the command is executed in a subshell if it occurs as any component of a pipeline except the last. If a command specified to the shell contains a slash ‘/’, the shell will not...
builtin, !, %, ., :, @, [, {, }, alias, alloc, bg, bind, bindkey, break, breaksw, builtins, case, cd, chdir, command, complete, continue, default, dirs, do, done, echo, echotc, elif, else, end, endif, endsw, esac, eval, exec, exit, export, false, fc, fg, filetest, fi, for, foreach, getopts, glob, goto, hash, hashstat, ...
See the built-in command description in the appropriate shell manual page.
null
null
snmpusm
snmpusm is an SNMP application that can be used to do simple maintenance on the users known to an SNMP agent, by manipulating the agent's User-based Security Module (USM) table. The user needs write access to the usmUserTable MIB table. This tool can be used to create, delete, clone, and change the passphrase of users...
snmpusm - creates and maintains SNMPv3 users on a network entity
snmpusm [COMMON OPTIONS] [-Cw] AGENT create USER [CLONEFROM-USER] snmpusm [COMMON OPTIONS] AGENT delete USER snmpusm [COMMON OPTIONS] AGENT cloneFrom USER CLONEFROM-USER snmpusm [COMMON OPTIONS] [-Ca] [-Cx] AGENT passwd OLD-PASSPHRASE NEW- PASSPHRASE [USER] snmpusm [COMMON OPTIONS] <-Ca | -Cx> -Ck AGENT passwd OLD-KEY-...
Common options for all snmpusm commands: -CE ENGINE-ID Set usmUserEngineID to be used as part of the index of the usmUserTable. Default is to use the contextEngineID (set via -E or probed) as the usmUserEngineID. -Cp STRING Set the usmUserPublic value of the (new) user to the specified STRING. Options for the passwd a...
Let's assume for our examples that the following VACM and USM configurations lines were in the snmpd.conf file for a Net-SNMP agent. These lines set up a default user called "initial" with the authentication passphrase "setup_passphrase" so that we can perform the initial setup of an agent: # VACM configuration entries...
tkpp5.34
Tkpp is a GUI frontend to pp, which can turn perl scripts into stand- alone PAR files, perl scripts or executables. You can save command line generated, load and save your Tkpp configuration GUI. Below is a short explanation of tkpp GUI. Menu File -> Save command line When you build or display command line in the Tkpp ...
tkpp - frontend to pp written in Perl/Tk.
You just have to execute command line : tkpp
null
null
test-yaml5.34
null
null
null
null
null
execsnoop
execsnoop prints details of new processes as they are executed. Details such as UID, PID and argument listing are printed out. This program is very useful to examine short lived processes that would not normally appear in a prstat or "ps -ef" listing. Sometimes applications will run hundreds of short lived processes in...
execsnoop - snoop new process execution. Uses DTrace.
execsnoop [-a|-A|-ejhsvZ] [-c command]
-a print all data -A dump all data, space delimited -e safe output, parseable. This prevents the ARGS field containing "\n"s, to assist postprocessing. -j print project ID -s print start time, us -v print start time, string -Z print zonename -c command command name to snoop
Default output, print processes as they are executed, # execsnoop Print human readable timestamps, # execsnoop -v Print zonename, # execsnoop -Z Snoop this command only, # execsnoop -c ls FIELDS UID User ID PID Process ID PPID Parent Process ID COMM command name for the process ARGS argument listing for the...
pagesize
The pagesize utility prints the size of a page of memory in bytes, as returned by getpagesize(3). This program is useful in constructing portable shell scripts. SEE ALSO getpagesize(3) HISTORY The pagesize command appeared in 4.2BSD. macOS 14.5 June 6, 1993 macOS 14.5
pagesize – print system page size
pagesize
null
null
lp
lp submits files for printing or alters a pending job. Use a filename of "-" to force printing from the standard input. THE DEFAULT DESTINATION CUPS provides many ways to set the default destination. The LPDEST and PRINTER environment variables are consulted first. If neither are set, the current default set using th...
lp - print files
lp [ -E ] [ -U username ] [ -c ] [ -d destination[/instance] ] [ -h hostname[:port] ] [ -m ] [ -n num-copies ] [ -o option[=value] ] [ -q priority ] [ -s ] [ -t title ] [ -H handling ] [ -P page-list ] [ -- ] [ file(s) ] lp [ -E ] [ -U username ] [ -c ] [ -h hostname[:port] ] [ -i job-id ] [ -n num-copies ] [ -o option...
The following options are recognized by lp: -- Marks the end of options; use this to print a file whose name begins with a dash (-). -E Forces encryption when connecting to the server. -U username Specifies the username to use when connecting to the server. -c This option is provided for backwards-compatibility o...
Print two copies of a document to the default printer: lp -n 2 filename Print a double-sided legal document to a printer called "foo": lp -d foo -o media=legal -o sides=two-sided-long-edge filename Print a presentation document 2-up to a printer called "bar": lp -d bar -o number-up=2 filename SEE ALSO cancel(1), lpadmi...
base64
The uuencode and uudecode utilities are used to transmit binary files over transmission mediums that do not support other than simple ASCII data. The b64encode utility is synonymous with uuencode with the -m flag specified. The b64decode utility is synonymous with uudecode with the -m flag specified. The base64 utili...
bintrans, base64, uuencode, uudecode, – encode/decode a binary file
bintrans [algorithm] [...] uuencode [-m] [-r] [-o output_file] [file] name uudecode [-cimprs] [file ...] uudecode [-i] -o output_file b64encode [-r] [-w column] [-o output_file] [file] name b64decode [-cimprs] [file ...] b64decode [-i] -o output_file [file] base64 [-h | -D | -d] [-b count] [-i input_file] [-o output_fi...
null
The following example packages up a source tree, compresses it, uuencodes it and mails it to a user on another system. When uudecode is run on the target system, the file ``src_tree.tar.Z'' will be created which may then be uncompressed and extracted into the original tree. tar cf - src_tree | compress | uuencode src_...
ptargrep
This utility allows you to apply pattern matching to the contents of files contained in a tar archive. You might use this to identify all files in an archive which contain lines matching the specified pattern and either print out the pathnames or extract the files. The pattern will be used as a Perl regular expression...
ptargrep - Apply pattern matching to the contents of files in a tar archive
ptargrep [options] <pattern> <tar file> ... Options: --basename|-b ignore directory paths from archive --ignore-case|-i do case-insensitive pattern matching --list-only|-l list matching filenames rather than extracting matches --verbose|-v write debugging message to STDERR --help|-? detailed help messag...
--basename (alias -b) When matching files are extracted, ignore the directory path from the archive and write to the current directory using the basename of the file from the archive. Beware: if two matching files in the archive have the same basename, the second file extracted will overwrite the first. --ignore-case ...
null
jar
The jar command is a general-purpose archiving and compression tool, based on the ZIP and ZLIB compression formats. Initially, the jar command was designed to package Java applets (not supported since JDK 11) or applications; however, beginning with JDK 9, users can use the jar command to create modular JARs. For tra...
jar - create an archive for classes and resources, and manipulate or restore individual classes or resources from an archive
jar [OPTION ...] [ [--release VERSION] [-C dir] files] ...
null
null
h2ph
h2ph converts any C header files specified to the corresponding Perl header file format. It is most easily run while in /usr/include: cd /usr/include; h2ph * sys/* or cd /usr/include; h2ph * sys/* arpa/* netinet/* or cd /usr/include; h2ph -r -l . The output files are placed in the hierarchy rooted at Perl's architectu...
h2ph - convert .h C header files to .ph Perl header files
h2ph [-d destination directory] [-r | -a] [-l] [-h] [-e] [-D] [-Q] [headerfiles]
-d destination_dir Put the resulting .ph files beneath destination_dir, instead of beneath the default Perl library location ($Config{'installsitearch'}). -r Run recursively; if any of headerfiles are directories, then run h2ph on all files in those directories (and their subdirectories, etc.). -r and -a are mutually...
null
readlink
The stat utility displays information about the file pointed to by file. Read, write, or execute permissions of the named file are not required, but all directories listed in the pathname leading to the file must be searchable. If no argument is given, stat displays information about the file descriptor for standard i...
stat, readlink – display file status
stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...] readlink [-fn] [file ...]
null
If no options are specified, the default format is "%d %i %Sp %l %Su %Sg %r %z \"%Sa\" \"%Sm\" \"%Sc\" \"%SB\" %k %b %#Xf %N". > stat /tmp/bar 0 78852 -rw-r--r-- 1 root wheel 0 0 "Jul 8 10:26:03 2004" "Jul 8 10:26:03 2004" "Jul 8 10:28:13 2004" "Jan 1 09:00:00 1970" 16384 0 0 /tmp/bar Given a symbolic link “foo” th...
opensnoop
opensnoop tracks file opens. As a process issues a file open, details such as UID, PID and pathname are printed out. The returned file descriptor is printed, a value of -1 indicates an error. This can be useful for troubleshooting to determine if applications are attempting to open files that do not exist. Since this u...
opensnoop - snoop file opens as they occur. Uses DTrace.
opensnoop [-a|-A|-ceFghstvxZ] [-f pathname] [-n name] [-p PID]
-a print all data -A dump all data, space delimited -c print current working directory of process -e print errno value -F print the flags passed to open -g print full command arguments -s print start time, us -t print user stack trace -v print start time, string -x only print fai...
Default output, print file opens by process as they occur, # opensnoop Print human readable timestamps, # opensnoop -v See error codes, # opensnoop -e Snoop this file only, # opensnoop -f /etc/passwd FIELDS ZONE Zone name UID User ID PID Process ID PPID Parent Process ID FD File Descriptor (-1 is error) F...
rake
null
null
null
null
null
rvim
Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. There are a lot of enhancements above Vi: multi level undo, multi windows and buffers, syntax highlighting, command line editing, filename completion, on-line help, visu...
vim - Vi IMproved, a programmer's text editor
vim [options] [file ..] vim [options] - vim [options] -t tag vim [options] -q [errorfile] ex view gvim gview evim eview rvim rview rgvim rgview
The options may be given in any order, before or after filenames. Options without an argument can be combined after a single dash. +[num] For the first file the cursor will be positioned on line "num". If "num" is missing, the cursor will be positioned on the last line. +/{pat} For the first file the cursor will...
null
jcmd
The jcmd utility is used to send diagnostic command requests to the JVM. It must be used on the same machine on which the JVM is running, and have the same effective user and group identifiers that were used to launch the JVM. Each diagnostic command has its own set of arguments. To display the description, syntax, ...
jcmd - send diagnostic command requests to a running Java Virtual Machine (JVM)
jcmd [pid | main-class] command... | PerfCounter.print | -f filename jcmd [-l] jcmd -h pid When used, the jcmd utility sends the diagnostic command request to the process ID for the Java process. main-class When used, the jcmd utility sends the diagnostic command request to all Java processes with the specified nam...
null
null
dmc
dmc(1) configures the Disk Mount Conditioner. The Disk Mount Conditioner is a kernel provided service that can degrade the disk I/O being issued to specific mount points, providing the illusion that the I/O is executing on a slower device. It can also cause the conditioned mount point to advertise itself as a different...
dmc - controls the Disk Mount Conditioner
dmc start mount [profile-name|profile-index [-boot]] dmc stop mount dmc status mount [-json] dmc show profile-name|profile-index dmc list dmc select mount profile-name|profile-index dmc configure mount type access-time read-throughput write-throughput [ioqueue-depth maxreadcnt maxwritecnt segreadcnt segwritecnt] dmc he...
null
dmc start / ´5400 HDD´ Turn on the Disk Mount Conditioner for the boot volume, acting like a 5400 RPM hard drive. dmc configure /Volumes/ExtDisk SSD 100 100 50 Configure an external disk to use custom parameters to degrade performance as if it were a slow SSD with 100 microsecond latencies, 100MB/s read throughput, and...
vimtutor
Vimtutor starts the Vim tutor. It copies the tutor file first, so that it can be modified without changing the original file. The Vimtutor is useful for people that want to learn their first Vim commands. The optional argument -g starts vimtutor with gvim rather than vim, if the GUI version of vim is available, or fal...
vimtutor - the Vim tutor
vimtutor [-g] [language]
null
null
prove5.34
null
prove - Run tests through a TAP harness. USAGE prove [options] [files or directories]
null
Boolean options: -v, --verbose Print all test lines. -l, --lib Add 'lib' to the path for your tests (-Ilib). -b, --blib Add 'blib/lib' and 'blib/arch' to the path for your tests -s, --shuffle Run the tests in random order. -c, --color Colored test output (default). --nocolor ...
null
spfquery5.34
spfquery checks if a given set of e-mail parameters (e.g., the SMTP sender's IP address) matches the responsible domain's Sender Policy Framework (SPF) policy. For more information on SPF see <http://www.openspf.org>. Preferred Usage The following usage forms are preferred over the legacy forms used by older spfquery v...
spfquery - (Mail::SPF) - Checks if a given set of e-mail parameters matches a domain's SPF policy VERSION 2.501
Preferred usage: spfquery [--versions|-v 1|2|1,2] [--scope|-s helo|mfrom|pra] --identity|--id identity --ip-address|--ip ip-address [--helo-identity|--helo-id helo-identity] [OPTIONS] spfquery [--versions|-v 1|2|1,2] [--scope|-s helo|mfrom|pra] --file|-f filename|- [OPTIONS] Legacy usage: spfquery --helo helo-identity ...
Standard Options The preferred and legacy forms optionally take any of the following OPTIONS: --default-explanation string --def-exp string Use the specified string as the default explanation if the authority domain does not specify an explanation string of its own. --hostname hostname Use hostname as the host name of ...
spfquery --scope mfrom --id user@example.com --ip 1.2.3.4 spfquery --file test_data echo "127.0.0.1 user@example.com helohost.example.com" | spfquery -f - COMPATIBILITY spfquery has undergone the following interface changes compared to earlier versions: 2.500 • A new preferred usage style for performing individual SP...
perlivp5.34
The perlivp program is set up at Perl source code build time to test the Perl version it was built under. It can be used after running: make install (or your platform's equivalent procedure) to verify that perl and its libraries have been installed correctly. A correct installation is verified by output that looks li...
perlivp - Perl Installation Verification Procedure
perlivp [-p] [-v] [-h]
-h help Prints out a brief help message. -p print preface Gives a description of each test prior to performing it. -v verbose Gives more detailed information about each test, after it has been performed. Note that any failed tests ought to print out some extra information whether or not -v is thrown. DIAGNOSTICS • pr...
null
perldoc5.30
perldoc looks up documentation in .pod format that is embedded in the perl installation tree or in a perl script, and displays it using a variety of formatters. This is primarily used for the documentation for the perl library modules. Your system may also have man pages installed for those modules, in which case you ...
perldoc - Look up Perl documentation in Pod format.
perldoc [-h] [-D] [-t] [-u] [-m] [-l] [-U] [-F] [-i] [-V] [-T] [-r] [-d destination_file] [-o formatname] [-M FormatterClassName] [-w formatteroption:value] [-n nroff-replacement] [-X] [-L language_code] PageName|ModuleName|ProgramName|URL Examples: perldoc -f BuiltinFunction perldoc -L it -f BuiltinFunction perldoc -q...
-h Prints out a brief help message. -D Describes search for the item in detail. -t Display docs using plain text converter, instead of nroff. This may be faster, but it probably won't look as nice. -u Skip the real Pod formatting, and just show the raw Pod source (Unformatted) -m module Display the entire modul...
null
xgettext5.30.pl
null
null
null
null
null
iperf3-darwin
The iperf3-darwin is a tool for performing network throughput measurements based on the ESnet iperf3 project that has been modified to use functionalities specific to Darwin. For a full list of options see: iperf3-darwin -h AUTHORS A list of the contributors to iperf3 can be found within the documentation located at ht...
iperf3-darwin – perform network throughput tests
iperf3-darwin -s [options] iperf3-darwin -c server [options] iperf3-darwin -h iperf3-darwin -v
null
null
prove
null
prove - Run tests through a TAP harness. USAGE prove [options] [files or directories]
null
Boolean options: -v, --verbose Print all test lines. -l, --lib Add 'lib' to the path for your tests (-Ilib). -b, --blib Add 'blib/lib' and 'blib/arch' to the path for your tests -s, --shuffle Run the tests in random order. -c, --color Colored test output (default). --nocolor ...
null
newproc.d
newproc.d is a DTrace OneLiner to snoop new processes as they are run. The argument listing is printed. This is useful to identify short lived processes that are usually difficult to spot using traditional tools. Docs/oneliners.txt and Docs/Examples/oneliners_examples.txt in the DTraceToolkit contain this as a oneliner...
newproc.d - snoop new processes. Uses DTrace.
newproc.d
null
This prints new processes until Ctrl-C is hit. # newproc.d FIELDS CPU The CPU that recieved the event ID A DTrace probe ID for the event FUNCTION:NAME The DTrace probe name for the event remaining fields These contains the argument listing for the new process DOCUMENTATION See the DTraceToolkit for further docum...
gencat
The gencat utility merges the text NLS input files input-files... into a formatted message catalog file output-file. The file output-file will be created if it does not already exist. If output-file does exist, its messages will be included in the new output-file. If set and message numbers collide, the new message t...
gencat – NLS catalog compiler
gencat output-file input-files...
null
null
mdutil
The mdutil command is useful for managing the metadata stores for mounted volumes. The following options are available: -i on | off Sets the indexing status for the provided volumes to on or off. Note that indexing may be delayed due to low disk space or other conditions. -d Disables Spotlight searches on the provide...
mdutil – manage the metadata stores used by Spotlight
mdutil [-pEsav] [-i on | off] mountPoint ...
null
null
znew
The znew utility uncompresses files compressed by compress(1) and recompresses them with gzip(1). The options are as follows: -f Overwrite existing ‘.gz’ files. Unless this option is specified, znew refuses to overwrite existing files. -t Test integrity of the gzipped file before deleting the original file. ...
znew – convert compressed files to gzipped files
znew [-ftv9K] file ...
null
null
podchecker
podchecker will read the given input files looking for POD syntax errors in the POD documentation and will print any errors it find to STDERR. At the end, it will print a status message indicating the number of errors found. Directories are ignored, an appropriate warning message is printed. podchecker invokes the podc...
podchecker - check the syntax of POD format documentation files
podchecker [-help] [-man] [-(no)warnings] [file ...] OPTIONS AND ARGUMENTS -help Print a brief help message and exit. -man Print the manual page and exit. -warnings -nowarnings Turn on/off printing of warnings. Repeating -warnings increases the warning level, i.e. more warnings are printed. Currently increasing to...
null
null
mcxrefresh
mcxrefresh is a utility to force the client to re-read the managed preferences on the server for a user. This tool must be run with elevated privileges. Note that this may return a zero status if the user could not be found but there were computer settings available. You must use the -a parameter to enter a passwor...
mcxrefresh – Managed Client (MCX) preference refresh tool
mcxrefresh [-u uid] [-n username] [-a]
null
null
colrm
The colrm utility removes selected columns from the lines of a file. A column is defined as a single character in a line. Input is read from the standard input. Output is written to the standard output. If only the start column is specified, columns numbered less than the start column will be written. If both start...
colrm – remove columns from a file
colrm [start [stop]]
null
Show columns below 3 (c) and above 5 (e): $ echo -e "abcdefgh\n12345678" | colrm 3 5 abfgh 12678 Specifying a start column bigger than the number of columns in the file is allowed and shows all the columns: $ echo "abcdefgh" | colrm 100 abcdefgh Using 1 as start column will show nothing: $ echo "abcdefgh" | colrm 1 SEE...
dbilogstrip
Replaces any hex addresses, e.g, 0x128f72ce with "0xN". Replaces any references to process id or thread id, like "pid#6254" with "pidN". So a DBI trace line like this: -> STORE for DBD::DBM::st (DBI::st=HASH(0x19162a0)~0x191f9c8 'f_params' ARRAY(0x1922018)) thr#1800400 will look like this: -> STORE for DBD::DBM::st (DB...
dbilogstrip - filter to normalize DBI trace logs for diff'ing
Read DBI trace file "dbitrace.log" and write out a stripped version to "dbitrace_stripped.log" dbilogstrip dbitrace.log > dbitrace_stripped.log Run "yourscript.pl" twice, each with different sets of arguments, with DBI_TRACE enabled. Filter the output and trace through "dbilogstrip" into a separate file for each run. T...
null
null
pagestuff
pagestuff shows how a structure of a Mach-O or universal file corresponds to logical pages on the current system. Structural information includes the location and extent of file headers, sections and segments, symbol tables, code signatures, etc. When displaying a universal file, all architectures will be shown unless ...
pagestuff - Mach-O file page analysis tool
pagestuff file [-arch arch_flag] [[-a] [-p] | [pagenumber...]]
null
null
crlrefresh
Crlrefresh is a UNIX command-line program which is used to refresh and update the contents of the system-wide cache of Certificate Revocation Lists (CRLs). CRLs, which are optionally used as part of the procedure for verifying X.509 certificates, are typically fetched from the network using a URL which appears in (some...
crlrefresh - update and maintain system-wide CRL cache
crlrefresh command [command-args] [options] crlrefresh r [options] crlrefresh f URL [options] crlrefresh F URI [options] CRLREFRESH COMMAND SUMMARY r Refresh the entire CRL cache f Fetch a CRL from specified URL F Fetch a Certificate from specified URL
null
null
headerdoc2html
Headerdoc2html processes the header file or files and generates HTML documentation based on specially-formatted comments. The options are as follows: -H The -H option turns on inclusion of the htmlHeader line, as specified in the config file. -X The -X option switches from HTML to XML output -d The -d option t...
headerdoc2html – header documentation processor
headerdoc2html [-HXdhquvx] [-o output_dir] file [file ...]
null
null
jrunscript
The jrunscript command is a language-independent command-line script shell. The jrunscript command supports both an interactive (read-eval- print) mode and a batch (-f option) mode of script execution. By default, JavaScript is the language used, but the -l option can be used to specify a different language. By usin...
jrunscript - run a command-line script shell that supports interactive and batch modes
Note: This tool is experimental and unsupported. jrunscript [options] [arguments]
This represents the jrunscript command-line options that can be used. See Options for the jrunscript Command. arguments Arguments, when used, follow immediately after options or the command name. See Arguments.
null
pp5.34
pp creates standalone executables from Perl programs, using the compressed packager provided by PAR, and dependency detection heuristics offered by Module::ScanDeps. Source files are compressed verbatim without compilation. You may think of pp as "perlcc that works without hassle". :-) A GUI interface is also available...
pp - PAR Packager
pp [ -ABCEFILMPTSVXacdefghilmnoprsuvxz ] [ parfile | scriptfile ]...
Options are available in a short form and a long form. For example, the three lines below are all equivalent: % pp -o output.exe input.pl % pp --output output.exe input.pl % pp --output=output.exe input.pl Since the command lines can become sufficiently long to reach the limits imposed by some shells, it is possible t...
Note: When running on Microsoft Windows, the a.out below will be replaced by a.exe instead. % pp hello.pl # Pack 'hello.pl' into executable 'a.out' % pp -o hello hello.pl # Pack 'hello.pl' into executable 'hello' # (or 'hello.exe' on Win32) % pp -o foo foo.pl bar.pl # Pack 'foo.pl' and 'bar.pl' into 'foo'...
filtercalltree
filtercalltree reads a file containing a call tree, as generated by the sample(1) or malloc_history(1) commands, and filters or prunes it as specified by the options.
filtercalltree – Filter or prune a call tree file generated by sample or malloc_history
filtercalltree call-tree-file [-invertCallTree] [-pruneCount count] [-pruneMallocSize size] [-chargeSystemLibraries] [-chargeLibrary libraryName] [-keepBoundaries]
-invertCallTree Print the call tree from hottest to coldest stack frame. -pruneCount count Remove branches of the call tree that have count less than count -pruneMallocSize size Remove branches of the call tree that have malloc size less than size, such as 500K or 1.2M. -chargeSystemLibraries Remove stack ...
null
afhash
Audio File Hash writes an SHA-1 hash to an audio file or prints (to stdout) the hash contained in an audio file
afhash – Audio File Hash
afhash [-h] audiofile1 audiofile2
-h print help text -w write hash code to audio file -x print hash code from audio file (if present) -c compare hash codes from two audio files Darwin February 13, 2007 Darwin
null
sandbox-exec
The sandbox-exec command is DEPRECATED. Developers who wish to sandbox an app should instead adopt the App Sandbox feature described in the App Sandbox Design Guide. The sandbox-exec command enters a sandbox using a profile specified by the -f, -n, or -p option and executes command with arguments. The options are as ...
sandbox-exec – execute within a sandbox (DEPRECATED)
sandbox-exec [-f profile-file] [-n profile-name] [-p profile-string] [-D key=value ...] command [arguments ...]
null
null
snmpvacm
snmpvacm is an SNMP application that can be used to do simple maintenance on the View-based Control Module (VACM) tables of an SNMP agent. The SNMPv3 VACM specifications (see RFC2575) define assorted tables to specify groups of users, MIB views, and authorised access settings. These snmpvacm commands effectively crea...
snmpvacm - creates and maintains SNMPv3 View-based Access Control entries on a network entity A string identifying a particular MIB view, of which this OID subtree/mask forms part (possibly the only part). SUBTREE The OID defining the root of the subtree to add to (or exclude from) the named view. MASK A bit mask indic...
snmpvacm [COMMON OPTIONS] AGENT createSec2Group MODEL SECURITYNAME GROUPNAME snmpvacm [COMMON OPTIONS] AGENT deleteSec2Group MODEL SECURITYNAME snmpvacm [COMMON OPTIONS] AGENT createView [-Ce] NAME SUBTREE MASK snmpvacm [COMMON OPTIONS] AGENT deleteView NAME SUBTREE snmpvacm [COMMON OPTIONS] AGENT createAccess GROUPNA...
null
Given a pre-existing user dave (which could be set up using the snmpusm(1) command), we could configure full read-write access to the whole OID tree using the commands: snmpvacm localhost createSec2Group 3 dave RWGroup snmpvacm localhost createView all .1 80 snmpvacm localhost createAccess RWGroup 3 1 1 all all none...
stapler
The stapler utility attaches tickets for notarized executables to app bundles, disk images, and packages. Developer ID requires apps to be notarized before distribution. A ticket contains a list of the code signatures for executables within a supported file format. The stapler utility downloads and attaches (staples) a...
stapler – Attach and validate tickets for notarized executables
stapler staple [-q] [-v] path stapler validate [-q] [-v] path
The options are as follows: staple Retrieves a ticket and attaches it to the supported file format at path. The executable must have completed the notarization process. validate Validates a stapled ticket. This includes verifying the contents and comparing it to the latest ticket retrieved from the ticketing service....
stapler staple Example.app Retrieve and staple a ticket to Xcode.app. stapler validate -v SampleInstaller.pkg Validate the ticket stapled to a package with verbose output. DIAGNOSTICS stapler returns 0 on successful stapling or validation. If an error occurs, it returns one of the non-zero codes defined in sysexits(3)...
codecctl
null
null
null
null
null
fwkpfv
Use fwkpfv to receive FireWire kprintf logging. FireWireKPrintf redirects "kprintf()" logging to FireWire. Kernel printfs or "kprintfs" are used by many kernel services as a low level logging mechanism. They can also be used in third party kernel extensions. FireWire kprintfs are available very early in the kernel's st...
fwkpfv – FireWire kprintf viewer
fwkpfv [--appendlog] [--openlog] [--newlog] [--prefix] [--publish] [--single] [--buffer=boot-args] [--setargs[=boot-args]] [--setpm] [--disable] [--erase] [--ioff] [--restart] [--help]
The available options are as follows: --appendlog, -a Append output logging to /tmp/fwkpf.log. --openlog, -o Open log file with Console.app. Only valid with -a. --newlog, -n Create a new log file, rather than append. Only valid with -a. --prefix, -p Prefix logger machine's ID to each log. --publish, -k Do not publish F...
null
sftp
sftp is a file transfer program, similar to ftp(1), which performs all operations over an encrypted ssh(1) transport. It may also use many features of ssh, such as public key authentication and compression. The destination may be specified either as [user@]host[:path] or as a URI in the form sftp://[user@]host[:port][...
sftp – OpenSSH secure file transfer
sftp [-46AaCfNpqrv] [-B buffer_size] [-b batchfile] [-c cipher] [-D sftp_server_command] [-F ssh_config] [-i identity_file] [-J destination] [-l limit] [-o ssh_option] [-P port] [-R num_requests] [-S program] [-s subsystem | sftp_server] [-X sftp_option] destination
null
null
wc
The wc utility displays the number of lines, words, and bytes contained in each input file, or standard input (if no file is specified) to the standard output. A line is defined as a string of characters delimited by a ⟨newline⟩ character. Characters beyond the final ⟨newline⟩ character will not be included in the lin...
wc – word, line, character, and byte count
wc [--libxo] [-Lclmw] [file ...]
null
Count the number of characters, words and lines in each of the files report1 and report2 as well as the totals for both: wc -mlw report1 report2 Find the longest line in a list of files: wc -L file1 file2 file3 | fgrep total COMPATIBILITY Historically, the wc utility was documented to define a word as a “maximal string...
jps
The jps command lists the instrumented Java HotSpot VMs on the target system. The command is limited to reporting information on JVMs for which it has the access permissions. If the jps command is run without specifying a hostid, then it searches for instrumented JVMs on the local host. If started with a hostid, then ...
jps - list the instrumented JVMs on the target system
Note: This command is experimental and unsupported. jps [-q] [-mlvV] [hostid] jps [-help]
-q Suppresses the output of the class name, JAR file name, and arguments passed to the main method, producing a list of only local JVM identifiers. -mlvV You can specify any combination of these options. • -m displays the arguments passed to the main method. The output may be null for embedded JVMs. • -l displays...
This section provides examples of the jps command. List the instrumented JVMs on the local host: jps 18027 Java2Demo.JAR 18032 jps 18005 jstat The following example lists the instrumented JVMs on a remote host. This example assumes that the jstat server and either the its internal RMI registry or a separate external rm...
rsync
rsync is a program that behaves in much the same way that rcp does, but has many more options and uses the rsync remote-update protocol to greatly speed up file transfers when the destination file is being updated. The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files ...
rsync - faster, flexible replacement for rcp
rsync [OPTION]... SRC [SRC]... DEST rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST rsync [OPTION]... SRC rsync [OPTION]... [USER@]HOST:SRC [DEST] rsync [OPTION]... [USER@]HOST::SRC [DEST] rsync [OPTION]... r...
rsync uses the GNU long options package. Many of the command line options have two variants, one short and one long. These are shown below, separated by commas. Some options only have a long variant. The '=' for options that take a parameter is optional; whitespace can be used instead. --help Print a short help page ...
Here are some examples of how I use rsync. To backup my wife's home directory, which consists of large MS Word files and mail folders, I use a cron job that runs rsync -Cavz . arvidsjaur:backup each night over a PPP connection to a duplicate directory on my machine "arvidsjaur". To synchronize my samba source trees I u...
osacompile
osacompile compiles the given files, or standard input if none are listed, into a single output script. Files may be plain text or other compiled scripts. The options are as follows: -l language Override the language for any plain text files. Normally, plain text files are compiled as AppleScript. -e command Enter on...
osacompile – compile AppleScripts and other OSA language scripts
osacompile [-l language] [-e command] [-o name] [-d] [-r type:id] [-t type] [-c creator] [-x] [-s] [-u] [file ...]
null
To produce a script compatible with classic Mac OS: osacompile -r scpt:128 -t osas -c ToyS example.applescript SEE ALSO osascript(1), osalang(1) Mac OS X November 12, 2008 Mac OS X
yamlpp-load5.30
null
null
null
null
null
hdxml2manxml
null
hdxml2manxml – HeaderDoc XML to MPGL translator
hdxml2manxml [-M man_section] filename [...]
The available options are as follows: -M the manual section for the output files filename the filename(s) to be processed ENVIRONMENT This tool was designed to translate from headerdoc's XML output to an mxml file for use with xml2man. The tool takes a list of XML files generated with headerdoc2html (with the -X flag...
null
gzcat
The gzip program compresses and decompresses files using Lempel-Ziv coding (LZ77). If no files are specified, gzip will compress from standard input, or decompress to standard output. When in compression mode, each file will be replaced with another file with the suffix, set by the -S suffix option, added, if possible...
gzip, gunzip, zcat – compression/decompression tool using Lempel-Ziv coding (LZ77)
gzip [-cdfhkLlNnqrtVv] [-S suffix] file [file [...]] gunzip [-cfhkLNqrtVv] [-S suffix] file [file [...]] zcat [-fhV] file [file [...]]
The following options are available: -1, --fast -2, -3, -4, -5, -6, -7, -8 -9, --best These options change the compression level used, with the -1 option being the fastest, with less compression, and the -9 option being the slowest, with optimal compression. The default compression level is 6. -c, --stdout, --t...
null
delv
delv (Domain Entity Lookup & Validation) is a tool for sending DNS queries and validating the results, using the the same internal resolver and validator logic as named. delv will send to a specified name server all queries needed to fetch and validate the requested data; this includes the original requested query, sub...
delv - DNS lookup and validation utility is the domain name to be looked up. type indicates what type of query is required — ANY, A, MX, etc. type can be any valid query type. If no type argument is supplied, delv will perform a lookup for an A record.
delv [@server] [-4] [-6] [-a anchor-file] [-b address] [-c class] [-d level] [-i] [-m] [-p port#] [-q name] [-t type] [-x addr] [name] [type] [class] [queryopt...] delv [-h] delv [-v] delv [queryopt...] [query...]
-a anchor-file Specifies a file from which to read DNSSEC trust anchors. The default is /etc/bind.keys, which is included with BIND 9 and contains trust anchors for the root zone (".") and for the ISC DNSSEC lookaside validation zone ("dlv.isc.org"). Keys that do not match the root or DLV trust-anchor names are ignored...
null
thermal
null
null
null
null
null
pico
Pico is a simple, display-oriented text editor based on the Alpine message system composer. As with Alpine, commands are displayed at the bottom of the screen, and context-sensitive help is provided. As characters are typed they are immediately inserted into the text. Editing commands are entered using control-key co...
pico - simple text editor in the style of the Alpine Composer Syntax pico [ options ] [ file ]
null
+n Causes pico to be started with the cursor located n lines into the file. (Note: no space between "+" sign and number) -a Display all files including those beginning with a period (.). -b Enable word wrap. -d Rebind the "delete" key so the character the cursor is on is rubbed out rather than the chara...
null
IOMFB_FDR_Loader
null
null
null
null
null
shasum
Running shasum is often the quickest way to compute SHA message digests. The user simply feeds data to the script through files or standard input, and then collects the results from standard output. The following command shows how to compute digests for typical inputs such as the NIST test vector "abc": perl -e "print...
shasum - Print or Check SHA Checksums
Usage: shasum [OPTION]... [FILE]... Print or check SHA checksums. With no FILE, or when FILE is -, read standard input. -a, --algorithm 1 (default), 224, 256, 384, 512, 512224, 512256 -b, --binary read in binary mode -c, --check read SHA sums from the FILEs and check them --tag create a BSD-style checksum...
null
null
comm
The comm utility reads file1 and file2, which should be sorted lexically, and produces three text columns as output: lines only in file1; lines only in file2; and lines in both files. The filename ``-'' means the standard input. The following options are available: -1 Suppress printing of column 1, lines only in f...
comm – select or reject lines common to two files
comm [-123i] file1 file2
null
Assuming a file named example.txt with the following contents: a b c d Show lines only in example.txt, lines only in stdin and common lines: $ echo -e "B\nc" | comm example.txt - B a b c d Show only common lines doing case insensitive comparisons: $ echo -e "B\nc" | comm -1 -2 -i example.txt - b c SEE ALSO cmp(1), diff...
mpsgraphtool
null
null
null
null
null
resolveLinks
null
resolveLinks – Resolves link requests in collections of HTML files
resolveLinks [-a] [-b basepath] [-d debugflags] [-D] [-h] [-i installpath] [-n] [-N] [-P] [-r refanchorprefix] [-s seedfile] [-S seedfilebasepath] [-t nthreads] [-x xreffile] directory
The available options are as follows: -a Treat external (seeded) paths as absolute. If passed after a -s argument, modifies that argument. If passed before any -s arguments, modifies all seed files. This may be specified multiple times. -b Base path. Paths in -x output file are generated relative to this path. ...
null
xcdebug
null
null
null
null
null
dbicadmin5.30
null
dbicadmin - utility for administrating DBIx::Class schemata
dbicadmin: [-I] [long options...] deploy a schema to a database dbicadmin --schema=MyApp::Schema \ --connect='["dbi:SQLite:my.db", "", ""]' \ --deploy update an existing record dbicadmin --schema=MyApp::Schema --class=Employee \ --connect='["dbi:SQLite:my.db", "", ""]' \ --op=update --set='{ "name": "New_Employee" }'
Actions --create Create version diffs needs preversion --upgrade Upgrade the database to the current schema --install Install the schema version tables to an existing database --deploy Deploy the schema to the database --select Select data from the schema --insert Insert data into the schema --update Update data in the...
null
lpq
lpq shows the current print queue status on the named printer. Jobs queued on the default destination will be shown if no printer or class is specified on the command-line. The +interval option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every interv...
lpq - show printer queue status
lpq [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ -a ] [ -l ] [ +interval ]
lpq supports the following options: -E Forces encryption when connecting to the server. -P destination[/instance] Specifies an alternate printer or class name. -U username Specifies an alternate username. -a Reports jobs on all printers. -h server[:port] Specifies an alternate server. -l Requests a more verbose (...
null
java
The java command starts a Java application. It does this by starting the Java Virtual Machine (JVM), loading the specified class, and calling that class's main() method. The method must be declared public and static, it must not return any value, and it must accept a String array as a parameter. The method declarati...
java - launch a Java application
To launch a class file: java [options] mainclass [args ...] To launch the main class in a JAR file: java [options] -jar jarfile [args ...] To launch the main class in a module: java [options] -m module[/mainclass] [args ...] or java [options] --module module[/mainclass] [args ...] To launch a source-file program: java ...
Optional: Specifies command-line options separated by spaces. See Overview of Java Options for a description of available options. mainclass Specifies the name of the class to be launched. Command-line entries following classname are the arguments for the main method. -jar jarfile Executes a program encapsulated in a ...
null
bundle
Bundler manages an application´s dependencies through its entire life across many machines systematically and repeatably. See the bundler website http://bundler.io for information on getting started, and Gemfile(5) for more information on the Gemfile format.
bundle - Ruby Dependency Management
bundle COMMAND [--no-color] [--verbose] [ARGS]
--no-color Print all output without color --retry, -r Specify the number of times you wish to attempt network commands --verbose, -V Print out additional logging information BUNDLE COMMANDS We divide bundle subcommands into primary commands and utilities: PRIMARY COMMANDS bundle install(1) bundle-install.1.html Install...
null
gzip
The gzip program compresses and decompresses files using Lempel-Ziv coding (LZ77). If no files are specified, gzip will compress from standard input, or decompress to standard output. When in compression mode, each file will be replaced with another file with the suffix, set by the -S suffix option, added, if possible...
gzip, gunzip, zcat – compression/decompression tool using Lempel-Ziv coding (LZ77)
gzip [-cdfhkLlNnqrtVv] [-S suffix] file [file [...]] gunzip [-cfhkLNqrtVv] [-S suffix] file [file [...]] zcat [-fhV] file [file [...]]
The following options are available: -1, --fast -2, -3, -4, -5, -6, -7, -8 -9, --best These options change the compression level used, with the -1 option being the fastest, with less compression, and the -9 option being the slowest, with optimal compression. The default compression level is 6. -c, --stdout, --t...
null
yamlpp-events5.30
null
null
null
null
null