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
shazam
The shazam utility offers commands for creating signatures as well as processing custom catalogs to build better audio experiences with ShazamKit. Current operations supported for a custom catalog include: - Creating a custom catalog from a signature asset file and csv of metadata. - Updating an existing custom catal...
shazam – A utility for ShazamKit
shazam <subcommand> [--help]
-h, --help Show help information about the command. SEE ALSO shazam-signature(1), shazam-custom-catalog-create(1), shazam-custom-catalog-update(1), shazam-custom-catalog-export(1), shazam-custom-catalog-display(1), shazam-custom-catalog-remove(1) NOTES 1. ShazamKit Documentation https://developer.apple.com/shazamkit ...
null
productsign
productsign adds a digital signature to a product archive previously created with productbuild(1). Although you can add a digital signature at the time you run productbuild(1), you may wish to add a signature later, once the product archive has been tested and is ready to deploy. If you run productsign on a product ar...
productsign – Sign a macOS Installer product archive
productsign [options] --sign identity input-product-path.pkg output-product-path.pkg
null
null
mklocale
The mklocale utility reads a LC_CTYPE source file from standard input and produces a LC_CTYPE binary file on standard output suitable for placement in /usr/share/locale/language/LC_CTYPE. The format of src-file is quite simple. It consists of a series of lines which start with a keyword and have associated data follow...
mklocale – make LC_CTYPE locale files
mklocale [-d] < src-file > language/LC_CTYPE mklocale [-d] -o language/LC_CTYPE src-file
null
null
defaults
Defaults allows users to read, write, and delete Mac OS X user defaults from a command-line shell. Mac OS X applications and other programs use the defaults system to record user preferences and other information that must be maintained when the applications aren't running (such as default font for new documents, or th...
defaults – access the Mac OS X user defaults system
defaults [-currentHost | -host hostname] read [domain [key]] defaults [-currentHost | -host hostname] read-type domain key defaults [-currentHost | -host hostname] write domain { 'plist' | key 'value' } defaults [-currentHost | -host hostname] rename domain old_key new_key defaults [-currentHost | -host hostname] delet...
Specifying domains: domain If no flag is specified, domain is a domain name of the form com.companyname.appname. Example: defaults read com.apple.TextEdit -app application The name of an application may be provided instead of a domain using the -app flag. Example: defaults read -app TextEdit filepath Domains may a...
null
tic
The tic command translates a terminfo file from source format into compiled format. The compiled format is necessary for use with the library routines in ncurses(3X). As described in term(5), the database may be either a directory tree (one file per terminal entry) or a hashed database (one record per entry). The tic ...
tic - the terminfo entry-description compiler
tic [-01CDGIKLNTUVacfgrstx] [-e names] [-o dir] [-R subset] [-v[n]] [-w[n]] file
-0 restricts the output to a single line -1 restricts the output to a single column -a tells tic to retain commented-out capabilities rather than discarding them. Capabilities are commented by prefixing them with a period. This sets the -x option, because it treats the commented-out entries as user-defined...
null
zip
zip is a compression and file packaging utility for Unix, VMS, MSDOS, OS/2, Windows 9x/NT/XP, Minix, Atari, Macintosh, Amiga, and Acorn RISC OS. It is analogous to a combination of the Unix commands tar(1) and compress(1) and is compatible with PKZIP (Phil Katz's ZIP for MSDOS systems). A companion program (unzip(1L))...
zip - package and compress (archive) files
zip [-aABcdDeEfFghjklLmoqrRSTuvVwXyz!@$] [--longoption ...] [-b path] [-n suffixes] [-t date] [-tt date] [zipfile [file ...]] [-xi list] zipcloak (see separate man page) zipnote (see separate man page) zipsplit (see separate man page) Note: Command line processing in zip has been changed to support long options and ha...
-a --ascii [Systems using EBCDIC] Translate file to ASCII format. -A --adjust-sfx Adjust self-extracting executable archive. A self-extracting executable archive is created by prepending the SFX stub to an existing archive. The -A option tells zip to adjust the entry offsets stored in the archive to take into account ...
The simplest example: zip stuff * creates the archive stuff.zip (assuming it does not exist) and puts all the files in the current directory in it, in compressed form (the .zip suffix is added automatically, unless the archive name contains a dot already; this allows the explicit specification of other suffixes). Becau...
uulog
The uulog program can be used to display entries in the UUCP log file. It can select the entries for a particular system or a particular user. You can use it to see what has happened to your queued jobs in the past. Different options may be used to select which parts of the file to display.
uulog - display entries in the UUCP log file.
uulog [-#] [-n lines] [-sf system] [-u user] [-DSF] [--lines lines] [--system system] [--user user] [--debuglog] [--statslog] [--follow] [--follow=system]
-#, -n lines, --lines lines Here '#' is a number; e.g., `-10'. The specified number of lines is displayed from the end of the log file. The default is to display the entire log file, unless the -f, -F, or --follow options are used, in which case the default is to display 10 lines. -s system, --system system Display onl...
null
pl2pm5.34
pl2pm is a tool to aid in the conversion of Perl4-style .pl library files to Perl5-style library modules. Usually, your old .pl file will still work fine and you should only use this tool if you plan to update your library to use some of the newer Perl 5 features, such as AutoLoading. LIMITATIONS It's just a first ste...
pl2pm - Rough tool to translate Perl4 .pl files to Perl5 .pm modules.
pl2pm files
null
null
atrm
The at and batch utilities read commands from standard input or a specified file which are to be executed at a later time, using sh(1). at executes commands at a specified time; atq lists the user's pending jobs, unless the user is the superuser; in that case, everybody's jobs are listed; atrm deletes jobs;...
at, batch, atq, atrm – queue, examine or delete jobs for later execution
at [-q queue] [-f file] [-mldbv] time at [-q queue] [-f file] [-mldbv] -t [[CC]YY]MMDDhhmm[.SS] at -c job [job ...] at -l [job ...] at -l -q queue at -r job [job ...] atq [-q queue] [-v] atrm job [job ...] batch [-q queue] [-f file] [-mv] [time]
-q queue Use the specified queue. A queue designation consists of a single letter; valid queue designations range from a to z and A to Z. The a queue is the default for at and the b queue for batch. Queues with higher letters run with increased niceness. If a job is submitted to a queue designated with an uppercase ...
null
curl
curl is a tool for transferring data from or to a server using URLs. It supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. curl is powered by libcurl for all transfer-...
curl - transfer a URL
curl [options / URLs]
Options start with one or two dashes. Many of the options require an additional value next to them. If provided text does not start with a dash, it is presumed to be and treated as a URL. The short "single-dash" form of the options, -d for example, may be used with or without a space between it and its value, although ...
null
wdutil
wdutil provides functionality of the Wireless Diagnostics application in command line form. COMMANDS The following commands are available: diagnose [-f outputDirectoryPath] Equivalent to running the Wireless Diagnostics application, without UI. The default outputDirectoryPath is /var/tmp. Requires sudo. info Displays a...
wdutil – Wireless Diagnostics command line utility.
wdutil [command]
null
Run all diagnostic tests: sudo wdutil diagnose Gather information about the current wireless environment: wdutil info Enable DHCP and OpenDirectory logging: sudo wdutil log +dhcp +od Disable EAPOL logging: sudo wdutil log -eapol AUTHOR This program and document are maintained by Apple Inc. <wifi- diags@group.apple.com>...
agentxtrap
agentxtrap issues an AgentX NotifyPDU to a master agent. One or more object identifiers (OIDs) can be given as arguments on the command line. A type and a value must accompany each object identifier. Each variable name is given in the format specified in variables(5).
agentxtrap - send an AgentX NotifyPDU to an AgentX master agent
agentxtrap [OPTIONS] trap-oid [OID TYPE VALUE...]
-c contextName if the -c option is present then the notification is sent in the nondefault name context. -U uptime if the -U option is present then that value, parsed as centiseconds, is taken to be the sysUpTime field of the application. -x ADDRESS if the -x option is present then contact the AgentX master at ADDRESS ...
To send a generic linkUp trap to the manager for interface 1 the following command can be used: agentxtrap netSnmp.0.3 ifindex.1 i 1 SEE ALSO snmpcmd(1), snmpset(1), variables(5), RFC 2741 V5.6.2.1 20 Dec 2009 AGENTXTRAP(1)
db_verify
The db_verify utility verifies the structure of one or more files and the databases they contain. The options are as follows: -h Specify a home directory for the database environment; by default, the current working directory is used. -o Skip the database checks for btree and duplicate sort order and for hashing. If th...
db_verify
db_verify [-NoqV] [-h home] [-P password] file ...
null
null
servertool
null
null
null
null
null
newgrp
The newgrp utility creates a new shell execution environment with modified real and effective group IDs. The options are as follows: -l Simulate a full login. The environment and umask are set to what would be expected if the user actually logged in again. If the group operand is present, a new shell is started w...
newgrp – change to a new group
newgrp [-l] [group]
null
null
pod2usage5.34
pod2usage will read the given input file looking for pod documentation and will print the corresponding usage message. If no input file is specified then standard input is read. pod2usage invokes the pod2usage() function in the Pod::Usage module. Please see "pod2usage()" in Pod::Usage. SEE ALSO Pod::Usage, pod2text, Po...
pod2usage - print usage messages from embedded pod docs in files
pod2usage [-help] [-man] [-exit exitval] [-output outfile] [-verbose level] [-pathlist dirlist] [-formatter module] [-utf8] file OPTIONS AND ARGUMENTS -help Print a brief help message and exit. -man Print this command's manual page and exit. -exit exitval The exit status value to return. -output outfile The outp...
null
null
timerfires
The timerfires utility lists timers as they fire. The options are as follows: -t timeout Run only for timeout seconds; then exit. -p pid Analyze only timers from the process with process ID pid. -n name Analyze only timers from processes with name name. It is an error to specify both -p and -n. -s Show ca...
timerfires – analyze timers as they fire
timerfires [-t timeout] [-p pid | -n name] [-s]
null
null
rpcgen
rpcgen is a tool that generates C code to implement an RPC protocol. The input to rpcgen is a language similar to C known as RPC Language (Remote Procedure Call Language). rpcgen is normally used as in the first synopsis where it takes an input file and generates up to four output files. If the infile is named proto....
rpcgen – Remote Procedure Call (RPC) protocol compiler
rpcgen infile rpcgen [-D [name=value]] [-A] [-M] [-T] [-K secs] infile rpcgen [-L] -c | -h | -l | -m | -t | -Sc | -Ss | [-o outfile] [infile] rpcgen -c | nettype [-o outfile] [infile] rpcgen -s | netid [-o outfile] [infile]
-a Generate all the files including sample code for client and server side. -b This generates code for the SunOS 4.1 style of RPC. This is the default. -C Generate code in ANSI C. This option also generates code that could be compiled with the C++ compiler. -c Compile into XDR routines. -D name[=v...
null
swcutil
null
null
null
null
null
perlthanks
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
dbiprof5.34
This tool is a command-line client for the DBI::ProfileData. It allows you to analyze the profile data file produced by DBI::ProfileDumper and produce various useful reports.
dbiprof - command-line client for DBI::ProfileData
See a report of the ten queries with the longest total runtime in the profile dump file prof1.out: dbiprof prof1.out See the top 10 most frequently run queries in the profile file dbi.prof (the default): dbiprof --sort count See the same report with 15 entries: dbiprof --sort count --number 15
This program accepts the following options: --number N Produce this many items in the report. Defaults to 10. If set to "all" then all results are shown. --sort field Sort results by the given field. Sorting by multiple fields isn't currently supported (patches welcome). The available sort fields are: total Sorts by...
null
parldyn5.30
null
null
null
null
null
snmpnetstat
The snmpnetstat command symbolically displays the values of various network-related information retrieved from a remote system using the SNMP protocol. There are a number of output formats, depending on the options for the information presented. The first form of the command displays a list of active sockets. The se...
snmpnetstat - display networking status and configuration information from a network entity via SNMP
snmpnetstat [COMMON OPTIONS] [-Ca] [-Cn] AGENT snmpnetstat [COMMON OPTIONS] [-Ci] [-Co] [-Cr] [-Cn] [-Cs] AGENT snmpnetstat [COMMON OPTIONS] [-Ci] [-Cn] [-CI interface] AGENT [interval] snmpnetstat [COMMON OPTIONS] [-Ca] [-Cn] [-Cs] [-Cp protocol] AGENT
The options have the following meaning: COMMON OPTIONS Please see snmpcmd(1) for a list of possible values for common options as well as their descriptions. -Ca With the default display, show the state of all sockets; normally sockets used by server processes are not shown. -Ci Show the state of all of the network inte...
Example of using snmpnetstat to display active sockets (default): % snmpnetstat -v 2c -c public -Ca testhost Active Internet (tcp) Connections (including servers) Proto Local Address Foreign Address (state) tcp *.echo *.* LISTEN tcp *.discard *.* LISTEN tcp *.daytime *.* LISTEN...
package-stash-conflicts5.34
null
package-stash-conflicts VERSION version 0.38 SUPPORT Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Package-Stash> (or bug-Package-Stash@rt.cpan.org <mailto:bug-Package-Stash@rt.cpan.org>). AUTHOR Jesse Luehrs <doy@tozt.net> COPYRIGHT AND LICENSE This software is cop...
null
null
null
lastcomm
lastcomm gives information on previously executed commands. With no arguments, lastcomm prints information about all the commands recorded during the current accounting file's lifetime. Option: -f file Read from file rather than the default accounting file. -w Use as many columns as needed to print the output inste...
lastcomm – show last commands executed in reverse order
lastcomm [-w] [-f file] [command ...] [user ...] [terminal ...]
null
null
getconf
The getconf utility prints the values of POSIX or X/Open path or system configuration variables to the standard output. If a variable is undefined, the string “undefined” is output. The first form of the command displays all of the path or system configuration variables to standard output. If file is provided, all pa...
getconf – retrieve standard configuration variables
getconf -a [file] getconf [-v environment] path_var file getconf [-v environment] system_var
null
The command: getconf PATH will display the system default setting for the PATH environment variable. The command: getconf NAME_MAX /tmp will display the maximum length of a filename in the /tmp directory. The command: getconf -v POSIX_V6_LPBIG_OFFBIG LONG_MAX will display the maximum value of the C type long in the POS...
kpasswd
The kpasswd command is used to change a Kerberos principal's password. kpasswd first prompts for the current Kerberos password, then prompts the user twice for the new password, and the password is changed. If the principal is governed by a policy that specifies the length and/or number of character classes required in...
kpasswd - change a user's Kerberos password
kpasswd [principal]
principal Change the password for the Kerberos principal principal. Otherwise, kpasswd uses the principal name from an existing ccache if there is one; if not, the principal is derived from the identity of the user invoking the kpasswd command. ENVIRONMENT See kerberos(7) for a description of Kerberos environment varia...
null
dist_package_tool
null
null
null
null
null
vis
vis is a filter for converting non-printable characters into a visual representation. It differs from ‘cat -v’ in that the form is unique and invertible. By default, all non-graphic characters except space, tab, and newline are encoded. A detailed description of the various visual formats is given in vis(3). The opt...
vis – display non-printable characters in a visual format
vis [-bcfhlMmNnoSstw] [-e extra] [-F foldwidth] [file ...]
null
Visualize characters encoding white spaces and tabs: $ echo -e "\x10\n\t" | vis -w -t \^P\012\011\012 Same as above but using `\$' for newline followed by an actual newline: $ echo -e "\x10\n\t" | vis -w -t -l \^P\$ \011\$ Visualize string using URI encoding: $ echo http://www.freebsd.org | vis -h http%3a%2f%2fwww.free...
dbiproxy
This tool is just a front end for the DBI::ProxyServer package. All it does is picking options from the command line and calling DBI::ProxyServer::main(). See DBI::ProxyServer for details. Available options include: --chroot=dir (UNIX only) After doing a bind(), change root directory to the given directory by doing a c...
dbiproxy - A proxy server for the DBD::Proxy driver
dbiproxy <options> --localport=<port>
null
null
ipcrm
The ipcrm utility removes the specified message queues, semaphores and shared memory segments. These System V IPC objects can be specified by their creation ID or any associated key. The following options are used to specify which IPC objects will be removed. Any number and combination of these options can be used: -...
ipcrm – remove the specified message queues, semaphore sets, and shared segments
ipcrm [-q msqid] [-m shmid] [-s semid] [-Q msgkey] [-M shmkey] [-S semkey] ...
null
null
bputil
This utility is not meant for normal users or even sysadmins. It provides unabstracted access to capabilities which are normally handled for the user automatically when changing the security policy through GUIs such as the Startup Security Utility in macOS Recovery (“recoveryOS”). It is possible to make your system sec...
bputil – Utility to precisely modify the security settings on Apple Silicon Macs.
bputil [-ldejfgnmkcas] [-u username] [-p password] [-v APFS Volume Group UUID] [-r APFS Volume Group UUID]
null
null
net-snmp-config
The net-snmp-config shell script is designed to retrieve the configuration information about the libraries and binaries dealing with the Simple Network Management Protocol (SNMP), built from the net-snmp source package. The information is particularily useful for applications that need to link against the SNMP librarie...
net-snmp-config - returns information about installed net-snmp libraries and binaries
net-snmp-config [OPTIONS]
--version displays the net-snmp version number --indent-options displays the indent options from the Coding Style --debug-tokens displays a example command line to search to source code for a list of available debug tokens SNMP Setup commands: --create-snmpv3-user [-ro] [-a authpass] [-x privpass] [-X DES|AES] [-A MD5|...
null
otool
null
null
null
null
null
lwp-dump5.30
The lwp-dump program will get the resource identified by the URL and then dump the response object to STDOUT. This will display the headers returned and the initial part of the content, escaped so that it's safe to display even binary content. The escapes syntax used is the same as for Perl's double quoted strings. I...
lwp-dump - See what headers and content is returned for a URL
lwp-dump [ options ] URL
null
null
killall
The killall utility kills processes selected by name, as opposed to the selection by PID as done by kill(1). By default, it will send a TERM signal to all processes with a real UID identical to the caller of killall that match the name procname. The super-user is allowed to kill any process. The options are as follow...
killall – kill processes by name
killall [-delmsvqz] [-help] [-I] [-u user] [-t tty] [-c procname] [-SIGNAL] [procname ...]
null
Send SIGTERM to all firefox processes: killall firefox Send SIGTERM to firefox processes belonging to USER: killall -u ${USER} firefox Stop all firefox processes: killall -SIGSTOP firefox Resume firefox processes: killall -SIGCONT firefox Show what would be done to firefox processes, but do not actually signal them: ki...
patch
patch takes a patch file patchfile containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions. Normally the patched versions are put in place of the originals. Backups can be made; see the -b or --backup option. The names of th...
patch - apply a diff file to an original
patch [options] [originalfile [patchfile]] but usually just patch -pnum <patchfile
-b or --backup Make backup files. That is, when patching a file, rename or copy the original instead of removing it. When backing up a file that does not exist, an empty, unreadable backup file is created as a placeholder to represent the nonexistent file. See the -V or --version-control option for details about ho...
null
tailspin
tailspin configures the system to continuously sample callstacks of processes and select kdebug events in the kernel trace buffer. When tailspin data is recorded to a file, the tailspin file will contain information about the system state from about 20s prior to the save. The tailspind daemon is a helper daemon for the...
tailspin – configure, save and print tailspin output
tailspin info tailspin enable tailspin disable tailspin set buffer-size buffer-size-mb ktrace-filter-descriptor (add:|remove:)filter-desc oncore-sampling-period period-in-ns|disabled full-system-sampling-period period-in-ns|disabled sampling-option (add:|remove:)options tailspin reset [buffer-size-mb|ktrace-filter-desc...
null
null
su
The su utility requests appropriate user credentials via PAM and switches to that user ID (the default user is the superuser). A shell is then executed. PAM is used to set the policy su(1) will use. In particular, by default only users in the “admin” or “wheel” groups can switch to UID 0 (“root”). This group requirem...
su – substitute user identity
su [-] [-flm] [login [args]]
null
su -m operator -c poweroff Starts a shell as user operator, and runs the command poweroff. You will be asked for operator's password unless your real UID is 0. Note that the -m option is required since user “operator” does not have a valid shell by default. In this example, -c is passed to the shell of the user “operat...
ul
The ul utility reads the named files (or standard input if none are given) and translates occurrences of underscores to the sequence which indicates underlining for the terminal in use, as specified by the environment variable TERM. The file /etc/termcap is read to determine the appropriate sequences for underlining. ...
ul – do underlining
ul [-i] [-t terminal] [file ...]
null
null
compression_tool
compression_tool encodes (compresses), or decodes (uncompresses) files using the Compression library.
compression_tool – encode/decode files using the Compression library.
compression_tool compression_tool -encode | -decode [-a algorithm] [-A algorithm] [-i input_file] [-o output_file] [-v] [-h]
-encode Encode (compress) the input -decode Decode (uncompress) the input --a algorithm Set the compression algorithm, valid options are zlib, lzma, lzfse, lz4, lz4_raw. Default is lzfse. - zlib raw DEFLATE payload, as defined in IETF RFC 1951, encoder is zlib level 5, - lzma LZMA2 payload inside a XZ container, enc...
null
dbiproxy5.30
This tool is just a front end for the DBI::ProxyServer package. All it does is picking options from the command line and calling DBI::ProxyServer::main(). See DBI::ProxyServer for details. Available options include: --chroot=dir (UNIX only) After doing a bind(), change root directory to the given directory by doing a c...
dbiproxy - A proxy server for the DBD::Proxy driver
dbiproxy <options> --localport=<port>
null
null
tkcon
TkCon is a replacement for the standard console that comes with Tk (on Windows/Mac, but also works on Unix). The console itself provides many more features than the standard console. TkCon works on all platforms where Tcl/Tk is available. It is meant primarily to aid one when working with the little details inside T...
tkcon - Tk console replacement
tkcon [{option value | tcl_script} ...] ______________________________________________________________________________
Except for -rcfile, command line arguments are handled after the TkCon resource file is sourced, but before the slave interpreter or the TkCon user interface is initialized. -rcfile is handled right before it would be sourced, allowing you to specify any alternate file. Command line arguments are passed to each new co...
null
ssh
ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to provide secure encrypted communications between two untrusted hosts over an insecure network. X11 connections, arbitrary TCP ports and UNIX-domain sockets can also be forwarded over the se...
ssh – OpenSSH remote login client
ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-J destination] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-P tag] [-p port] [-R address] [-S ctl_path] ...
null
null
kdestroy
The kdestroy utility destroys the user's active Kerberos authorization tickets by overwriting and deleting the credentials cache that contains them. If the credentials cache is not specified, the default credentials cache is destroyed.
kdestroy - destroy Kerberos tickets
kdestroy [-A] [-q] [-c cache_name] [-p princ_name]
-A Destroys all caches in the collection, if a cache collection is available. May be used with the -c option to specify the collection to be destroyed. -q Run quietly. Normally kdestroy beeps if it fails to destroy the user's tickets. The -q flag suppresses this behavior. -c cache_name Use cache_name as the ...
null
yapp5.30
yapp is a frontend to the Parse::Yapp module, which lets you compile Parse::Yapp grammar input files into Perl LALR(1) OO parser modules.
yapp - A perl frontend to the Parse::Yapp module SYNOPSYS yapp [options] grammar[.yp] yapp -V yapp -h
null
Options, as of today, are all optionals :-) -v Creates a file grammar.output describing your parser. It will show you a summary of conflicts, rules, the DFA (Deterministic Finite Automaton) states and overall usage of the parser. -s Create a standalone module in which the driver is included. Note that if you have mor...
null
snmpgetnext
snmpget is an SNMP application that uses the SNMP GETNEXT request to query for information on a network entity. One or more object identifiers (OIDs) may be given as arguments on the command line. Each variable name is given in the format specified in variables(5). For each one, the variable that is lexicographically...
snmpgetnext - communicates with a network entity using SNMP GETNEXT requests
snmpgetnext [COMMON OPTIONS] [-Cf] AGENT OID [OID]...
-Cf If -Cf is not specified, some applications (snmpdelta, snmpget, snmpgetnext and snmpstatus) will try to fix errors returned by the agent that you were talking to and resend the request. The only time this is really useful is if you specified a OID that didn't exist in your request and you're using SNMPv1 which...
null
type
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
xsubpp
This compiler is typically run by the makefiles created by ExtUtils::MakeMaker or by Module::Build or other Perl module build tools. xsubpp will compile XS code into C code by embedding the constructs necessary to let C functions manipulate Perl values and creates the glue necessary to let Perl access those functions. ...
xsubpp - compiler to convert Perl XS code into C code
xsubpp [-v] [-except] [-s pattern] [-prototypes] [-noversioncheck] [-nolinenumbers] [-nooptimize] [-typemap typemap] [-output filename]... file.xs
Note that the "XSOPT" MakeMaker option may be used to add these options to any makefiles generated by MakeMaker. -hiertype Retains '::' in type names so that C++ hierarchical types can be mapped. -except Adds exception handling stubs to the C code. -typemap typemap Indicates that a user-supplied typemap should take pre...
null
jhat
null
null
null
null
null
tidy
Tidy reads HTML, XHTML, and XML files and writes cleaned-up markup. For HTML variants, it detects, reports, and corrects many common coding errors and strives to produce visually equivalent markup that is both conformant to the HTML specifications and that works in most browsers. A common use of Tidy is to convert plai...
tidy - check, correct, and pretty-print HTML(5) files
tidy [options] [file ...] [options] [file ...] ...
Tidy supports two different kinds of options. Purely command-line options, starting with a single dash '-', can only be used on the command-line, not in configuration files. They are listed in the first part of this section. Configuration options, on the other hand, can either be passed on the command line, starting...
null
tftp
The tftp utility is the user interface to the Internet TFTP (Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. The remote host may be specified on the command line, in which case tftp uses host as the default host for future transfers (see the connect command below). T...
tftp – trivial file transfer program
tftp [host [port]]
null
null
assetutil
assetutil processes a .car file generated from a image catalog removing requested scale factors, device idioms, subtypes, performance and memory classes. When thinning scale, idiom, subtype, performance, memory, and graphicsclassfallbacks can be given multiple times, the resulting file will contain all of the assets th...
assetutil process asset catalog .car files
assetutil [-ViotshMgpTZ] inputfile
null
null
AssetCacheLocatorUtil
AssetCacheLocatorUtil reports information related to macOS Content Caches running on the computer or on the local network. Some of the information that AssetCacheLocatorUtil reports depends on the current network configuration, and on the user running it. It might produce different results for different users, on diff...
AssetCacheLocatorUtil – Utility for reporting information about macOS Content Caches
AssetCacheLocatorUtil [-j|--json]
null
null
orbd
null
null
null
null
null
usbcfwflasher
null
null
null
null
null
streamzip
This program will read data from "stdin", compress it into a zip container and, by default, write a streamed zip file to "stdout". No temporary files are created. The zip container written to "stdout" is, by necessity, written in streaming format. Most programs that read Zip files can cope with a streamed zip file, but...
streamzip - create a zip file from stdin
producer | streamzip [opts] | consumer producer | streamzip [opts] -zipfile=output.zip
-zip64 Create a Zip64-compliant zip container. Use this option if the input is greater than 4Gig. Default is disabled. -zipfile=F Write zip container to the filename "F". Use the "Stream" option to force the creation of a streamed zip file. -member-name=M This option is used to name the "file" in the zip container. Def...
Create a zip file bt reading daa from stdin $ echo Lorem ipsum dolor sit | perl ./bin/streamzip >abcd.zip Check the contents of "abcd,zip" with the standard "unzip" utility Archive: abcd.zip Length Date Time Name --------- ---------- ----- ---- 22 2021-01-08 19:45 - --------- ------- 22 1 file Notice how ...
networkQuality
networkQuality allows for measuring the different aspects of Network Quality, including: Maximal capacity (often described as speed) The responsiveness of the connection. Responsiveness measures the quality of your network by the number of roundtrips completed per minute (RPM) under working conditions. See https://supp...
networkQuality – Network quality testing tool
networkQuality [-cdhksuv] [-C configuration URL] [-f protocol selection] [-I interface] [-r host] [-S port]
null
null
ktrace
ktrace can configure the system to trace events, or record them to a file, and print a human-readable representation of the events. SUBCOMMANDS ktrace uses a subcommand syntax to separate different functionality into logical groups. Each subcommand takes its own set of options, though a few options may be used in mult...
ktrace – record kernel trace files
ktrace info ktrace trace [-ACNnrSstu] [-R path | -E] [-C codes-path [...]] [-T timeout] [-f filter-desc] [-b buffer-size-mb] [-x pid-or-process-name [...] | -p pid-or-process-name [...]] [--json | --csv | --ndjson | --json-64] [-c command [...]] [--only-named-events] [--no-default-codes-files] [--continuous] [--disable...
null
null
DeRez
Tools supporting Carbon development, including DeRez, were deprecated with Xcode 6. The DeRez tool decompiles the resource fork of resourceFile according to the type declarations supplied by the type declaration files. The resource description produced by this decompilation contains the resource definitions (resource a...
DeRez - decompiles resources (DEPRECATED) SYNTAX DeRez resourceFile [ typeDeclFile1 [ typeDeclFile2 ] ... ] [ -c[ompatible] ] [ -d[efine] macro [ = data ] ] [ -e[scape] ] [ -i directoryPath ] [ -is[ysroot] sdkPath ] [ -m[axstringsize] n ] [ -noResolve ] [ -only typeExpr [ (idExpr1 [:idExpr2 ] | resourceName) ] ] [ -onl...
null
-c[ompatible] Generates output that is backward-compatible with Rez 1.0. -d[efine] macro [ = data ] Defines the macro variable macro as having the value data. You can use this option more than once on a command line. macro Specifies the macro variable to be defined. data Specifies the value of macro. This is the s...
The following command line displays the 'cfrg' resources in the CarbonLib library. The type declaration for 'cfrg' resources is found in the CarbonCore.r framework umbrella resource header file. /Developer/Tools/DeRez -I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ /System/...
textutil
textutil can be used to manipulate text files of various formats, using the mechanisms provided by the Cocoa text system. The first argument indicates the operation to perform, one of: -help Show the usage information for the command and exit. This is the default command option if none is specified. -info Displa...
textutil – text utility
textutil [command_option] [other_options] file ...
null
textutil -info foo.rtf displays information about foo.rtf. textutil -convert html foo.rtf converts foo.rtf into foo.html. textutil -convert rtf -font Times -fontsize 10 foo.txt converts foo.txt into foo.rtf, using Times 10 for the font. textutil -cat html -title "Several Files" -output index.html *.rtf loads all RTF fi...
xgettext.pl
This program extracts translatable strings from given input files, or from STDIN if none are given. Please see Locale::Maketext::Extract for a list of supported input file formats.
xgettext.pl - Extract translatable strings from source VERSION version 1.00
xgettext.pl [OPTION] [INPUTFILE]...
Mandatory arguments to long options are mandatory for short options too. Similarly for optional arguments. Input file location: INPUTFILE... Files to extract messages from. If not specified, STDIN is assumed. -f, --files-from=FILE Get list of input files from FILE. -D, --directory=DIRECTORY Add DIRECTORY to list for ...
null
automator
automator runs the specified workflow. To create or edit a workflow, use the Automator application. The following options are available: -D name=value Set variable name to value for this run of workflow. -i input Set input as the input to workflow. If input is - then the contents of standard input is used. Each newl...
automator – Runs Automator workflow.
automator [-v] [-i input] [-D name=value ...] workflow
null
null
wsgen
null
null
null
null
null
stat
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...
perldoc
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
javac
The javac command reads source files that contain module, package and type declarations written in the Java programming language, and compiles them into class files that run on the Java Virtual Machine. The javac command can also process annotations in Java source files and classes. Source files must have a file name e...
javac - read Java declarations and compile them into class files
javac [options] [sourcefiles-or-classnames]
Command-line options. sourcefiles-or-classnames Source files to be compiled (for example, Shape.java) or the names of previously compiled classes to be processed for annotations (for example, geometry.MyShape). javac provides standard options, and extra options that are either non- standard or are for advanced use. Som...
null
xcsdiagnose
null
null
null
null
null
mdfind
The mdfind command consults the central metadata store and returns a list of files that match the given metadata query. The query can be a string or a query expression. The following options are available: -0 Prints an ASCII NUL character after each result path. This is useful when used in conjunction with xargs -0. ...
mdfind – finds files matching a given query
mdfind [-live] [-count] [-onlyin directory] [-name fileName] query
null
The following examples are shown as given to the shell. This returns all files with any metadata attribute value matching the string "image": mdfind image This returns all files that contain "MyFavoriteAuthor" in the kMDItemAuthor metadata attribute: mdfind "kMDItemAuthors == '*MyFavoriteAuthor*'" This returns all file...
mdls
The mdls command prints the values of all the metadata attributes associated with the files provided as an argument. The following options are available: -name Print only the matching metadata attribute value. Can be used multiple times. -raw Print raw attribute data in the order that was requested. Fields will be...
mdls – lists the metadata attributes for the specified file
mdls [-name attributeName] [-raw [-nullMarker markerString]] file ...
null
null
codesign_allocate
codesign_allocate sets up a Mach-O file used by the dynamic linker so space for code signing data of the specified size for the specified architecture is embedded in the Mach-O file. The program must be passed one -a argument or one -A argument for each architecture in a universal file, or exactly one -a or -A for a t...
codesign_allocate - add code signing data to a Mach-O file
codesign_allocate -i oldfile [ -a arch size ]... [ -A cputype cpusubtype size ]... -o newfile
null
null
binhex5.34.pl
null
null
null
null
null
mddiagnose
The mddiagnose tool gathers system and Spotlight information in order to assist Apple when investigating issues related to Spotlight. A great deal of information is harvested, spanning system state, system and Spotlight details. What mddiagnose Collects: • A spindump of the system • Several seconds of top output • ...
mddiagnose – gather information to aid in diagnosing Spotlight issues
mddiagnose -h mddiagnose [-f path] [-e path] [-p path] [-n]
-h Print full usage. -m Gather a subset of the normal report. -f path Write the diagnostic to the specified path. -p path Gather Spotlight permissions and filter information. Run as owner of that file. EXIT STATUS mddiagnose exits with status 0 if there were no internal errors encountered during the diagnost...
null
snmpbulkwalk
snmpbulkwalk is an SNMP application that uses SNMP GETBULK requests to query a network entity efficiently for a tree of information. An object identifier (OID) may be given on the command line. This OID specifies which portion of the object identifier space will be searched using GETBULK requests. All variables in the...
snmpbulkwalk - retrieve a subtree of management values using SNMP GETBULK requests
snmpbulkwalk [APPLICATION OPTIONS] [COMMON OPTIONS] AGENT [OID]
-Cc Do not check whether the returned OIDs are increasing. Some agents (LaserJets are an example) return OIDs out of order, but can complete the walk anyway. Other agents return OIDs that are out of order and can cause snmpbulkwalk to loop indefinitely. By default, snmpbulkwalk tries to detect this behavior and ...
null
keytool
The keytool command is a key and certificate management utility. It enables users to administer their own public/private key pairs and associated certificates for use in self-authentication (where a user authenticates themselves to other users and services) or data integrity and authentication services, by using digit...
keytool - a key and certificate management utility
keytool [commands] commands Commands for keytool include the following: • -certreq: Generates a certificate request • -changealias: Changes an entry's alias • -delete: Deletes an entry • -exportcert: Exports certificate • -genkeypair: Generates a key pair • -genseckey: Generates a secret key • -gencert: Generates a cer...
null
null
tidy_changelog5.34
Takes a changelog file, parse it using CPAN::Changes and prints out the resulting output. If a file is not given, the program will see if there is one file in the current directory beginning by 'change' (case- insensitive) and, if so, assume it to be the changelog. ARGUMENTS --next If provided, assumes that there is a...
tidy_changelog - command-line tool for CPAN::Changes
$ tidy_changelog Changelog
null
null
fileproviderctl
fileproviderctl allows you to control the fileproviderd daemon and enumerate and manipulate files. GENERAL OPTIONS The following commands take parameters of the following forms: <provider> a (partial) provider identifier <bookmark> a string of the format “fileprovider:<provider bundle identifier>/<domain identifier>/<i...
fileproviderctl - introspect file provider extensions
fileproviderctl <command> [command-options and arguments]
null
null
binhex.pl
Each file is converted to file.hqx. WARNINGS Largely untested. AUTHOR Paul J. Schinder (NASA/GSFC) mostly, though Eryq can't seem to keep his grubby paws off anything... perl v5.34.0 2015-11-15 BINHEX(1)
binhex.pl - use Convert::BinHex to encode files as BinHex USAGE Usage: binhex.pl [options] file ... file Where the options are: -o dir Output in given directory (default outputs in file's directory) -v Verbose output (normally just one line per file is shown)
null
null
null
IOSDebug
null
null
null
null
null
dtruss
dtruss prints details on process system calls. It is like a DTrace version of truss, and has been designed to be less intrusive than truss. Of particular interest is the elapsed times and on cpu times, which can identify both system calls that are slow to complete, and those which are consuming CPU cycles. Since this u...
dtruss - process syscall details. Uses DTrace.
dtruss [-acdeflhoLs] [-t syscall] { -p PID | -n name | command }
-a print all details -b bufsize dynamic variable buffer size. Increase this if you notice dynamic variable drop errors. The default is "4m" for 4 megabytes per CPU. -c print system call counts -d print relative timestamps, us -e print elapsed times, us -f follow children as they are forked -l fo...
run and examine the "df -h" command # dtruss df -h examine PID 1871 # dtruss -p 1871 examine all processes called "tar" # dtruss -n tar run test.sh and follow children # dtruss -f test.sh run the "date" command and print elapsed and on cpu times, # dtruss -eo date FIELDS PID/LWPID Process ID / Lightweight Process ID RE...
dserr
dserr prints a description for an error code. Mac OS X Server 13 April 2005 Mac OS X Server
dserr – prints a description for an error code.
dserr errcode
null
null
tiff2icns
tiff2icns can be used to convert TIFF images to 'icns' files used by Icon Services. Searches for 48, 32, 16, 128, 256, 512, and 1024 wide images (in that order) and converts them to icons. Doesn't do any scaling, doesn't generate mini (12x12) icons. If no 32x32 image was found, and the -noLarge flag was not passed, on...
tiff2icns – converts TIFF to icns format
tiff2icns [-noLarge] infile [outfile]
-noLarge tiff2icns always creates a large 32x32 icon unless the -noLarge flag is passed. macOS August 28, 2002 macOS
null
mandoc
The mandoc utility formats manual pages for display. By default, mandoc reads mdoc(7) or man(7) text from stdin and produces -T locale output. The options are as follows: -a If the standard output is a terminal device and -c is not specified, use less(1) to paginate the output, just like man(1) would. -c Copy...
mandoc – format manual pages
mandoc [-ac] [-I os=name] [-K encoding] [-mdoc | -man] [-O options] [-T output] [-W level] [file ...]
null
To page manuals to the terminal: $ mandoc -l mandoc.1 man.1 apropos.1 makewhatis.8 To produce HTML manuals with /usr/share/misc/mandoc.css as the style- sheet: $ mandoc -T html -O style=/usr/share/misc/mandoc.css mdoc.7 > mdoc.7.html To check over a large set of manuals: $ mandoc -T lint `find /usr/src -name \*\.[1-9]`...
pbpaste
pbcopy takes the standard input and places it in the specified pasteboard. If no pasteboard is specified, the general pasteboard will be used by default. The input is placed in the pasteboard as plain text data unless it begins with the Encapsulated PostScript (EPS) file header or the Rich Text Format (RTF) file heade...
pbcopy, pbpaste - provide copying and pasting to the pasteboard (the Clipboard) from command line
pbcopy [-help] [-pboard {general | ruler | find | font}] pbpaste [-help] [-pboard {general | ruler | find | font}] [-Prefer {txt | rtf | ps}]
-pboard {general | ruler | find | font} specifies which pasteboard to copy to or paste from. If no pasteboard is given, the general pasteboard will be used by default. -Prefer {txt | rtf | ps} tells pbpaste what type of data to look for in the pasteboard first. As stated above, pbpaste normally looks first for plain ...
null
policytool
null
null
null
null
null
yamlpp-highlight5.34
null
null
null
null
null
actool
actool verifies, updates, and prints the contents of an asset catalog, generating its output in standard plist format. The tool follows a "read", "modify", "write", "print" order of operations.
actool - compiles, prints, updates, and verifies asset catalogs.
actool [options] document
Specifying Output: --output-format format By default, actool provides output in the form of an XML property list. Specifying binary1 will instruct actool to output a binary property list. Similarly, xml1 specifies an XML property list, and human-readable-text specifies human readable text. Compiling: --compile path Com...
actool --compile /tmp MyApp.xcassets actool will compile MyApp.xcassets and produce /tmp/Assets.car. SEE ALSO plist(1) Apple Inc. Mar 9 2018 actool(1)
xpath5.34
xpath uses the XML::XPath perl module to make XPath queries to any XML document. The XML::XPath module aims to comply exactly to the XPath specification at "http://www.w3.org/TR/xpath" and yet allows extensions to be added in the form of functions. The script takes any number of XPath pointers and tries to apply them ...
xpath - a script to query XPath statements in XML documents.
xpath [-s suffix] [-p prefix] [-n] [-q] -e query [-e query] ... [file] ...
-q Be quiet. Output only errors (and no separator) on stderr. -n Never use an external DTD, ie. instantiate the XML::Parser module with 'ParseParamEnt => 0'. -s suffix Place "suffix" at the end of each entry. Default is a linefeed. -p prefix Place "prefix" preceding each entry. Default is nothing. BUGS The author of th...
null
heap
heap lists the objects currently allocated on the heap of the specified process, as well as summary data. Objects are categorized by class name, type (Objective-C, C++, or CFType), and binary image. C++ objects are identified by the vtable referenced from the start of the object, so with multiple inheritance this may ...
heap – List all the malloc-allocated buffers in the process's heap
heap [-s | -sortBySize] [-z | -zones] [-guessNonObjects] [-sumObjectFields] [-showSizes] [-addresses all | <classes-pattern>] [-noContent] pid | partial-executable-name | memory-graph-file
heap requires one argument -- either the process ID or the full or partial executable name of the process to examine, or the pathname of a memory graph file generated by leaks or the Xcode Memory Graph Debugger. The following options are available: -s | -sortBySize Sort output by total size of class instances, rather t...
null
sum
The cksum utility writes to the standard output three whitespace separated fields for each input file. These fields are a checksum CRC, the total number of octets in the file and the file name. If no file name is specified, the standard input is used and no file name is written. The sum utility is identical to the cks...
cksum, sum – display file checksums and block counts
cksum [-o 1 | 2 | 3] [file ...] sum [file ...]
null
null
lskq
The lskq command enumerates kqueues and registered kevents of running processes.
lskq – display process kqueue state
lskq [-vhe] [-p <pid> | -a]
-p <pid> Show kqueues of process <pid>. -a Show kqueues for all running processes. Requires root. -v Verbose: show opaque user data and filter-specific extension fields. -e Ignore empty kqueues. -r Print fields in raw hex. -h Show help and exit. OUTPUT lskq prints one line of output for each registered keven...
null
macbinary
applesingle, binhex, macbinary are implemented as a single tool with multiple names. All invocations support the three verbs encode, decode, and probe. If multiple files are passed to probe, the exit status will be non-zero only if all files contain data in the specified encoding.
applesingle, binhex, macbinary – encode and decode files
<tool> probe file ... <tool> [decode] [-c] [-fv] [-C dir] [-o outfile] [file ...] <tool> -h | -V applesingle encode [-cfv] [-s suf] [-C dir] [-o outfile] file ... binhex encode [-R] [-cfv] [-s suf] [-C dir] [-o outfile] file ... macbinary encode [-t 1-3] [-cfv] [-s suf] [-C dir] [-o outfile] file ...
-f, --force perform the operation even if the output file already exists -h, --help display version and usage, then quit -v, --verbose be verbose -V, --version display version, then quit -c, --pipe, --from-stdin, --to-stdout For decode, read encoded data from the standand input. For encode, write encoded data to the s...
null
ncdestroy
ncctl controls the caller's kernel Kerberos credentials for any of the specified path's associated NFS mounts. If no paths are specified then all the caller's associated credentials for all NFS file systems are acted upon by the command given. When an NFS file system is mounted using Kerberos through the “sec=” option...
ncctl – Control NFS kernel credentials
ncctl [-Pvh] {{init | set} [-F] -p principal | {destroy | unset} | {list | get}} [path ...] ncinit [-PvhF] -p principal [path ...] ncdestroy [-Pvh] [path ...] nclist [-Pvh] [path ...]
null
If leaving for the day: $ kdestroy -A $ ncdestroy Lets say a user does $ kinit user@FOO.COM And through the automounter access a path /Network/Serves/someserver/Sources/foo/bar where the mount of /Network/Servers/someserver/Sources/foo was done with user@FOO.COM. $ cat /Network/Servers/someserver/Sources/foo/bar cat: /...
nc
The nc (or netcat) utility is used for just about anything under the sun involving TCP or UDP. It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6. Unlike telnet(1), nc scripts nicely, and separates error messages onto standard error...
nc – arbitrary TCP and UDP connections and listens
nc [-46AcDCdhklnrtUuvz] [-b boundif] [-i interval] [-p source_port] [-s source_ip_address] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [--apple-delegate-pid pid] [--apple-delegate-uuid uuid] [--apple-ext-bk-idle] [--apple-nowakefromsleep n] [--apple-ecn mode] [hostname] [port[s]]
null
Open a TCP connection to port 42 of host.example.com, using port 31337 as the source port, with a timeout of 5 seconds: $ nc -p 31337 -w 5 host.example.com 42 Open a UDP connection to port 53 of host.example.com: $ nc -u host.example.com 53 Open a TCP connection to port 42 of host.example.com using 10.1.2.3 as the IP f...
json_pp5.34
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":"XX","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":"XX","bar":12345...
snmptrap
snmptrap is an SNMP application that uses the SNMP TRAP operation to send information to a network manager. One or more object identifiers (OIDs) can be given as arguments on the command line. A type and a value must accompany each object identifier. Each variable name is given in the format specified in variables(5...
snmptrap, snmpinform - sends an SNMP notification to a manager
snmptrap -v 1 [COMMON OPTIONS] AGENT enterprise-oid agent generic-trap specific-trap uptime [OID TYPE VALUE]... snmptrap -v [2c|3] [COMMON OPTIONS] [-Ci] AGENT uptime trap-oid [OID TYPE VALUE]... snmpinform -v [2c|3] [COMMON OPTIONS] AGENT uptime trap-oid [OID TYPE VALUE]...
snmptrap takes the common options described in the snmpcmd(1) manual page in addition to the -Ci option described above. Note that snmptrap REQUIRES an argument specifying the agent to query as described there. SEE ALSO snmpcmd(1), snmpset(1), variables(5). V5.6.2.1 19 Jun 2003 SNMPTRAP(1)
null
tsort
The tsort utility takes a list of pairs of node names representing directed arcs in a graph and prints the nodes in topological order on standard output. Input is taken from the named file, or from standard input if no file is given. There must be an even number of nodes in the input. Node names specified on the same...
tsort – topological sort of a directed graph
tsort [-dlq] [file]
null
Assuming a file named dag with the following contents representing a directed acyclic graph: A B A F B C B D D E Sort the nodes of the graph: $ tsort dag A F B D C E White spaces and new line characters are considered equal. This file for example is considered equal to the one we defined before: $ cat dga A B A F B C ...
uuencode
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_...
cpp
null
null
null
null
null
swift
Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns. The goal of the Swift project is to create the best available language for uses ranging from systems programming, to mobile and desktop apps, scaling up to cloud services. Most importantly...
swift -- Safe, fast, and expressive general-purpose programming language
To invoke the Swift REPL (Read-Eval-Print-Loop): swift repl To execute a Swift program: swift program.swift <arguments> To work with the Swift Package Manager: swift build|package|run|test [options] <inputs> To invoke the Swift compiler: swiftc [options] <inputs> A list of supported options is available through the "-h...
null
null