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 |
|---|---|---|---|---|---|
htmltree | null | htmltree - Parse the given HTML file(s) and dump the parse tree | htmltree -D3 -w file1 file2 file3 Options: -D[number] sets HTML::TreeBuilder::Debug to that figure. -w turns on $tree->warn(1) for the new tree -h Help message perl v5.34.0 2024-04-13 HTMLTREE(1) | null | null |
git | Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. See gittutorial(7) to get started, then see giteveryday(7) for a useful minimum set of commands. The Git User’s Manual[1] has a more in-depth introductio... | git - the stupid content tracker | git [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>] <command> [<args>] | -v, --version Prints the Git suite version that the git program came from. This option is internally converted to git version ... and accepts the same options as the git-version(1) command. If --help is also given, it takes precedence over --version. -h, --help Prints the synopsis and a list of the most commonly used c... | null |
tr | The tr utility copies the standard input to the standard output with substitution or deletion of selected characters. The following options are available: -C Complement the set of characters in string1, that is “-C ab” includes every character except for ‘a’ and ‘b’. -c Same as -C but complement the set of va... | tr – translate characters | tr [-Ccsu] string1 string2 tr [-Ccu] -d string1 tr [-Ccu] -s string1 tr [-Ccu] -ds string1 string2 | null | The following examples are shown as given to the shell: Create a list of the words in file1, one per line, where a word is taken to be a maximal string of letters. tr -cs "[:alpha:]" "\n" < file1 Translate the contents of file1 to upper-case. tr "[:lower:]" "[:upper:]" < file1 (This should be preferred over the traditi... |
banner | Banner prints a large, high quality banner on the standard output. If the message is omitted, it prompts for and reads one line of its standard input. The output should be printed on paper of the appropriate width, with no breaks between the pages. The following options are available: -d Enable debug. -t Ena... | banner – print large banner on printer | banner [-d] [-t] [-w width] message ... | null | null |
leave | The leave utility waits until the specified time, then reminds you that you have to leave. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, leave exits just before it would have printed the next message. The following options are available: hh... | leave – remind you when you have to leave | leave [[+]hhmm] | null | null |
jconsole | The jconsole command starts a graphical console tool that lets you monitor and manage Java applications and virtual machines on a local or remote machine. On Windows, the jconsole command doesn't associate with a console window. It does, however, display a dialog box with error information when the jconsole command fai... | jconsole - start a graphical console to monitor and manage Java applications | jconsole [-interval=n] [-notile] [-plugin path] [-version] [connection ... ] [-Jinput_arguments] jconsole -help | -interval Sets the update interval to n seconds (default is 4 seconds). -notile Doesn't tile the windows for two or more connections. -pluginpath path Specifies the path that jconsole uses to look up plug-ins. The plug-in path should contain a provider-configuration file named META-INF/services/com.sun.tools.jconsole.... | null |
paste | The paste utility concatenates the corresponding lines of the given input files, replacing all but the last file's newline characters with a single tab character, and writes the resulting lines to standard output. If end-of-file is reached on an input file while other input files still contain data, the file is treated... | paste – merge corresponding or subsequent lines of files | paste [-s] [-d list] file ... | null | List the files in the current directory in three columns: ls | paste - - - Combine pairs of lines from a file into single lines: paste -s -d '\t\n' myfile Number the lines in a file, similar to nl(1): sed = myfile | paste - - Create a colon-separated list of directories named bin, suitable for use in the PATH environme... |
bzip2 | 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 |
uucp | The uucp command copies files between systems. Each file argument is either a pathname on the local machine or is of the form system!path which is interpreted as being on a remote system. In the first form, the contents of the first file are copied to the second. In the second form, each source file is copied into t... | uucp - Unix to Unix copy | uucp [ options ] source-file destination-file uucp [ options ] source-file... destination-directory | The following options may be given to uucp. -c, --nocopy Do not copy local source files to the spool directory. If they are removed before being processed by the uucico (8) daemon, the copy will fail. The files must be readable by the uucico (8) daemon, and by the invoking user. -C, --copy Copy local source files to ... | null |
passwd | Every cmd listed above is a (sub-)command of the openssl(1) application. It has its own detailed manual page at openssl-cmd(1). For example, to view the manual page for the openssl dgst command, type "man openssl-dgst". | asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, spkac, ... | openssl cmd -help | [-option | -option arg] ... [arg] ... | Among others, every subcommand has a help option. -help Print out a usage message for the subcommand. SEE ALSO openssl(1), openssl-asn1parse(1), openssl-ca(1), openssl-ciphers(1), openssl-cmp(1), openssl-cms(1), openssl-crl(1), openssl-crl2pkcs7(1), openssl-dgst(1), openssl-dhparam(1), openssl-dsa(1), openssl-dsaparam(... | null |
moose-outdated5.34 | null | null | null | null | null |
macerror5.30 | The macerror script translates Mac error numbers into their symbolic name and description. SEE ALSO Mac::Errors AUTHOR Chris Nandor, pudge@pobox.com COPYRIGHT Copryright 2002, Chris Nandor, All rights reserved You may use this under the same terms as Perl itself. perl v5.30.3 2018-06-20 MACERROR(1) | macerror | % macerror -23 | null | null |
uuidgen | The uuidgen command generates a Universally Unique IDentifier (UUID), a 128-bit value guaranteed to be unique over both space and time. The following options are available: -hdr Emit CoreFoundation CFUUID-based source code for using the uuid in a header. RETURN VALUE The UUID is printed to standard output as a hyp... | uuidgen – generates new UUID strings | uuidgen [-hdr] | null | null |
install_name_tool | Install_name_tool changes the dynamic shared library install names and or adds, changes or deletes the rpaths recorded in a Mach-O binary. For this tool to work when the install names or rpaths are larger the binary should be built with the ld(1) -headerpad_max_install_names option. -change old new Changes the dependen... | install_name_tool - change dynamic shared library install names | install_name_tool [-change old new ] ... [-rpath old new ] ... [-add_rpath new ] ... [-delete_rpath new ] ... [-id name] file | null | null |
cmpdylib | cmpdylib compares two versions of a dynamic shared library to see if they are compatible with each other. If the two versions are incompatible, the reason is printed to stdout, and the exit status is nonzero. If they are compatible, nothing is printed, and the exit status is zero. To see if the two versions are compati... | cmpdylib - compare two dynamic shared libraries for compatibility | cmpdylib oldLibrary newLibrary | oldLibrary The older version of the library. newLibrary The newer version of the library. | This example shows the result of performing cmpdylib on two incompatible versions of the Foundation library. As stated, the versions are incompatible because the newer version was not built for the ppc architecture. cmpdylib /System/Library/Frameworks/Foundation.framework/Foundation Foundation_proj/Foundation cmpdylib:... |
pod2text5.34 | pod2text is a front-end for Pod::Text and its subclasses. It uses them to generate formatted ASCII text from POD source. It can optionally use either termcap sequences or ANSI color escape sequences to format the text. input is the file to read for POD source (the POD can be embedded in code). If input isn't given, ... | pod2text - Convert POD data to formatted ASCII text | pod2text [-aclostu] [--code] [--errors=style] [-i indent] [-q quotes] [--nourls] [--stderr] [-w width] [input [output ...]] pod2text -h | -a, --alt Use an alternate output format that, among other things, uses a different heading style and marks "=item" entries with a colon in the left margin. --code Include any non-POD text from the input file in the output as well. Useful for viewing code documented with POD blocks with the POD rendered and the code le... | null |
zfgrep | The grep utility searches any given input files, selecting lines that match one or more patterns. By default, a pattern matches an input line if the regular expression (RE) in the pattern matches the input line without its trailing newline. An empty expression matches every line. Each input line that matches at least... | grep, egrep, fgrep, rgrep, bzgrep, bzegrep, bzfgrep, zgrep, zegrep, zfgrep – file pattern searcher | grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C num] [-e pattern] [-f file] [--binary-files=value] [--color[=when]] [--colour[=when]] [--context=num] [--label] [--line-buffered] [--null] [pattern] [file ...] | null | - Find all occurrences of the pattern ‘patricia’ in a file: $ grep 'patricia' myfile - Same as above but looking only for complete words: $ grep -w 'patricia' myfile - Count occurrences of the exact pattern ‘FOO’ : $ grep -c FOO myfile - Same as above but ignoring case: $ grep -c -i FOO myfile - Find all occurrenc... |
aea | aea creates and manipulates Apple Encrypted Archives (AEA) VERBS encrypt Create a new AEA archive decrypt Decrypt an AEA archive sign Sign an AEA archive append Append data to an existing AEA archive id Identify an AEA archive | aea – Manipulate Apple Encrypted Archives | aea command [options] | -v Increase verbosity. Default is silent operation. -h Print usage and exit. -i -input_file Input file. Default is stdin. -o -output_file Output file. Default is stdout. -profile -profile Archive profile, one of the following (both index and id are allowed): - 0: hkdf_sha256_hmac__none__ecdsa_p256 - no ... | Encrypt foo into foo.aea using a new random symmetric key stored in foo.key aea encrypt -profile hkdf_sha256_aesctr_hmac__symmetric__none -i foo -o foo.aea -key foo.key Decrypt foo.aea into bar aea decrypt -i foo.aea -o bar -key foo.key Alice encrypts and signs foo into foo.aea, so only Bob can decrypt it. aea encrypt... |
snfsdefrag | snfsdefrag is a utility for defragmenting files on a Xsan volume by relocating the data in a file to a smaller set of extents. Reducing the number of extents in a file improves performance by minimizing disk head movement when performing I/O. In addition, with fewer extents, Xsan File System Manager (FSM) overhead is... | snfsdefrag - Xsan File System File Defrag Utility | snfsdefrag [-ADdFPqsv] [-G group] [-K key] [-k key] [-g group] [-m count] [-r] [-S file] Target [Target...] snfsdefrag -e [-v] [-b] [-F] [-G group] [-K key] [-r] [-t] [-L] [-S file] Target [Target...] snfsdefrag -E [-v] [-b] [-F] [-G group] [-K key] [-r] [-t] [-L] [-S file] Target [Target...] snfsdefrag -c [-v] [-F] [-... | -A Do not attempt to temporarily stop I/O on an open file by setting the administrative lock on the file. -b Show extent size in blocks instead of kilobytes. Only useful with the -e and -E (list extents) options. -c This option causes snfsdefrag to just display an extent count instead of defragmenting files... | Count the extents in the file foo. rock% snfsdefrag -c foo Starting in directory, dir1, recursively count all the files and their extents and then print the grand total and average number of extents per file. rock% snfsdefrag -r -c -t dir1 List the extents in the file foo. rock% snfsdefrag -e foo Defragment the file fo... |
zipdetails | This program creates a detailed report on the internal structure of zip files. For each item of metadata within a zip file the program will output the offset into the zip file where the item is located. a textual representation for the item. an optional hex dump of the item. The program assumes a prior understanding of... | zipdetails - display the internal structure of zip files | zipdetails [-v][--scan][--redact][--utc] zipfile.zip zipdetails -h zipdetails --version | -h Display help --redact Obscure filenames in the output. Handy for the use case where the zip files contains sensitive data that cannot be shared. --scan Walk the zip file loking for possible zip records. Can be error- prone. See "Scan-Mode" --utc By default, date/time fields are displayed in local time. Use this o... | null |
look | The look utility displays any lines in file which contain string as a prefix. As look performs a binary search, the lines in file must be sorted. If file is not specified, the file /usr/share/dict/words is used, only alphanumeric characters are compared and the case of alphabetic characters is ignored. The following o... | look – display lines beginning with a given string | look [-df] [-t termchar] string [file ...] | null | Look for lines starting with ‘xylene’ in the file /usr/share/dict/words: $ look xylen xylene xylenol xylenyl Same as above, but do not consider any characters in string beyond the first ‘e’. Note that -f is implicit since we are searching the default file /usr/share/dict/words: $ look -t e xylen Xyleborus xylem xylene... |
col | The col utility filters out reverse (and half reverse) line feeds so that the output is in the correct order with only forward and half forward line feeds, and replaces white-space characters with tabs where possible. The col utility reads from the standard input and writes to the standard output. The options are as fo... | col – filter reverse line feeds from input | col [-bfhpx] [-l num] | null | We can use col to filter the output of man(1) and remove the backspace characters ( ^H ) before searching for some text: man ls | col -b | grep HISTORY SEE ALSO expand(1) STANDARDS The col utility conforms to Version 2 of the Single UNIX Specification (“SUSv2”). HISTORY A col command appeared in Version 6 AT&T UNIX. ma... |
dscacheutil | dscacheutil does various operations against the Directory Service cache including gathering statistics, initiating lookups, inspection, cache flush, etc. This tool replaces most of the functionality of the lookupd tool previously available in the OS. FLAGS A list of flags and their descriptions: -h Lists the opti... | dscacheutil – gather information, statistics and initiate queries to the Directory Service cache. | dscacheutil -h dscacheutil -q category [-a key value] dscacheutil -cachedump [-buckets] [-entries [category]] dscacheutil -configuration dscacheutil -flushcache dscacheutil -statistics | null | Lookup a user: % dscacheutil -q user -a name jdoe name: jdoe password: ******** uid: 501 gid: 501 dir: /Users/jdoe shell: /bin/csh gecos: John Doe Lookup all users: % dscacheutil -q user Dump cache overview: % dscacheutil -cachedump Dump cache details with user entries: % dscacheutil -cachedump -entries user SEE ALSO D... |
syscapturediags | null | null | null | null | null |
lwp-request5.30 | This program can be used to send requests to WWW servers and your local file system. The request content for POST and PUT methods is read from stdin. The content of the response is printed on stdout. Error messages are printed on stderr. The program returns a status value indicating the number of URLs that failed. Th... | lwp-request - Simple command line user agent | lwp-request [-afPuUsSedvhx] [-m method] [-b base URL] [-t timeout] [-i if-modified-since] [-c content-type] [-C credentials] [-p proxy-url] [-o format] url... | null | null |
zforce | The zforce utility renames gzip(1) files to have a ‘.gz’ suffix, so that gzip(1) will not compress them twice. This can be useful if file names were truncated during a file transfer. Files that have an existing ‘.gz’, ‘-gz’, ‘_gz’, ‘.tgz’ or ‘.taz’ suffix, or that have not been compressed by gzip(1), are ignored. SEE... | zforce – force gzip files to have a .gz suffix | zforce file ... | null | null |
lwp-mirror | This program can be used to mirror a document from a WWW server. The document is only transferred if the remote copy is newer than the local copy. If the local copy is newer nothing happens. Use the "-v" option to print the version number of this program. The timeout value specified with the "-t" option. The timeout... | lwp-mirror - Simple mirror utility | lwp-mirror [-v] [-t timeout] <url> <local file> | null | null |
malloc_history | malloc_history inspects a given process and lists the malloc and anonymous VM allocations performed by it. Anonymous VM allocations are from calls such as mach_vm_allocate that allocate raw Virtual Memory that is not backed by a file. Allocations of the VM regions underlying the malloc heaps are ignored. malloc_histor... | malloc_history – Show the malloc and anonymous VM allocations that the process has performed | malloc_history process [-highWaterMark] address [address ...] malloc_history process -allBySize [-highWaterMark] [address ...] malloc_history process -allByCount [-highWaterMark] [address ...] malloc_history process -allEvents [-highWaterMark] [-showContent] malloc_history process -callTree [-highWaterMark] [-showConte... | null | null |
cpio | cpio copies files between archives and directories. This implementation can extract from tar, pax, cpio, zip, jar, ar, and ISO 9660 cdrom images and can create tar, pax, cpio, ar, and shar archives. The first option to cpio is a mode indicator from the following list: -i Input. Read an archive from standard inpu... | cpio – copy files to and from archives | cpio -i [options] [pattern ...] [< archive] cpio -o [options] < name-list [> archive] cpio -p [options] dest-dir < name-list | Unless specifically stated otherwise, options are applicable in all operating modes. -0, --null Read filenames separated by NUL characters instead of newlines. This is necessary if any of the filenames being read might contain newlines. -6, --pwb When reading a binary format archive, assume it's the earlier one, from t... | The cpio command is traditionally used to copy file hierarchies in conjunction with the find(1) command. The first example here simply copies all files from src to dest: find src | cpio -pmud dest By carefully selecting options to the find(1) command and combining it with other standard utilities, it is possible to ex... |
h2ph5.34 | 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 |
nohup | The nohup utility invokes utility with its arguments and at this time sets the signal SIGHUP to be ignored. If the standard output is a terminal, the standard output is appended to the file nohup.out in the current directory. If standard error is a terminal, it is directed to the same place as the standard output. So... | nohup – invoke a utility immune to hangups | nohup [--] utility [arguments] | null | null |
kcc | kcc Options supported: --version version information --help help SEE ALSO kdestroy(1), kinit(1) HEIMDAL September 30, 2011 HEIMDAL | kcc – Kerberos credential cache tools | kcc [--version] [--help] [command [arguments ...]] | null | null |
ulimit | 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 |
rails | null | null | null | null | null |
bspatch | The bspatch utility generates newfile from oldfile and patchfile where patchfile is a binary patch built by bsdiff(1). The bspatch utility uses memory equal to the size of oldfile plus the size of newfile, but can tolerate a very small working set without a dramatic loss of performance. SEE ALSO bsdiff(1) AUTHORS Colin... | bspatch – apply a patch built with bsdiff(1) | bspatch oldfile newfile patchfile | null | null |
hotspot.d | hotspot.d is a simple DTrace script to determine if disk activity is occuring in the one place - a "hotspot". This helps us understand the system's usage of a disk, it does not imply that the existance or not of a hotspot is good or bad (often may be good, less seeking). Since this uses DTrace, only users with root pri... | hotspot.d - print disk event by location. Uses DTrace. | hotspot.d | null | Sample until Ctrl-C is hit then print report, # hotspot.d FIELDS Disk disk instance name Major driver major number Minor driver minor number value location of disk event, megabytes count number of events DOCUMENTATION See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs... |
cvaffinity | cvaffinity can be used to set an affinity for a specific storage pool on a file or directory, or list the current affinity. An affinity is created in a storage pool through the volume configuration, see snfs_config(5). It is a name, up to eight (8) characters, describing a special media type. Use cvadmin(8) to see wha... | cvaffinity - set, get, or delete the affinity of a file or directory | cvaffinity -s_key filename cvaffinity -l filename cvaffinity -d filename | -s key Set the given key to be the Affinity Key of the given file or directory. This key must be configured as an Affinity in the storage pool section of the file system configuration. Use cvadmin(8) to see the affinities in this file system. For files with an Affinity, new blocks allocated to that file are placed on... | List the affinity on the file /usr/clips/foo. rock # cvaffinity -l /usr/clips/foo Set this file or directory to use the storage pool that has the jmfn8 affinity type. rock # cvaffinity -s jmfn8 /usr/clips/filename Remove the affinity from the /usr/clips/mydir, if one is currently assigned. rock # cvaffinity -d /usr/cli... |
xsubpp5.34 | 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 |
gatherheaderdoc | Gatherheaderdoc processes the headerdoc output in directory and creates an index page that links to each header's documentation. FILES /$HOME/Library/Preferences/com.apple.headerDoc2HTML.config SEE ALSO headerdoc2html(1) For more information, see the HeaderDoc User Guide. It can be found in /Developer/Documentation/ i... | gatherheaderdoc – header documentation processor | gatherheaderdoc [options] directory | null | null |
ppdi | ppdi imports one or more PPD files into a PPD compiler source file. Multiple languages of the same PPD file are merged into a single printer definition to facilitate accurate changes for all localizations. This program is deprecated and will be removed in a future release of CUPS. | ppdi - import ppd files (deprecated) | ppdi [ -I include-directory ] [ -o source-file ] ppd-file [ ... ppd-file ] | ppdi supports the following options: -I include-directory Specifies an alternate include directory. Multiple -I options can be supplied to add additional directories. -o source-file Specifies the PPD source file to update. If the source file does not exist, a new source file is created. Otherwise the existing file i... | null |
pcap-config | When run with the --cflags option, pcap-config writes to the standard output the -I compiler flags required to include libpcap's header files. When run with the --libs option, pcap-config writes to the standard output the -L and -l linker flags required to link with libpcap, including -l flags for libraries required b... | pcap-config - write libpcap compiler and linker flags to standard output | pcap-config [ --static ] [ --cflags | --libs | --additional-libs ] | null | null |
jpackage | The jpackage tool will take as input a Java application and a Java run- time image, and produce a Java application image that includes all the necessary dependencies. It will be able to produce a native package in a platform-specific format, such as an exe on Windows or a dmg on macOS. Each format must be built on the... | jpackage - tool for packaging self-contained Java applications. | jpackage [options] | Command-line options separated by spaces. See jpackage Options. | null |
avmetareadwrite | null | null | null | null | null |
gen_bridge_metadata | gen_bridge_metadata is a tool that generates bridging metadata information for a given framework or set of headers. The Objective-C bridges supported in Mac OS X, such as PyObjC (Python), read this information at runtime. As of Mac OS 10.7, gen_bridge_metadata uses an improved parser, based on clang. This means the ge... | gen_bridge_metadata – Objective-C Bridges Metadata Generator | gen_bridge_metadata [options...] headers... | The gen_bridge_metadata tool accepts the following command-line options: -f framework, --framework framework Generates metadata for the given framework. This argument can accept both the name of a framework of an absolute path to a framework. When passing a framework name, the program will try to locate the framework ... | This generates bridge support metadata for a custom framework: mkdir -p /Path/To/YourFramework.framework/Resources/BridgeSupport gen_bridge_metadata -f /Path/To/YourFramework.framework -o /Path/To/YourFramework.framework/Resources/BridgeSupport/YourFramework.bridgesupport If the custom framework has inline functions an... |
parl5.34 | This stand-alone command offers roughly the same feature as "perl -MPAR", except that it takes the pre-loaded .par files via "-Afoo.par" instead of "-MPAR=foo.par". Additionally, it lets you convert a CPAN distribution to a PAR distribution, as well as manipulate such distributions. For more information about PAR distr... | parl - Binary PAR Loader | (Please see pp for convenient ways to make self-contained executables, scripts or PAR archives from perl programs.) To make a PAR distribution from a CPAN module distribution: % parl -p # make a PAR dist under the current path % parl -p Foo-0.01 # assume unpacked CPAN dist in Foo-0.01/ To manipulate a PAR di... | null | null |
gem | RubyGems is a sophisticated package manager for the Ruby programming language. On OS X the default bindir for gems that install binaries is /Library/Ruby/bin. For more information about it, you can use its --help flag. There is also online documentation available at "http://docs.rubygems.org". SEE ALSO ruby(1) AUTHORS ... | gem – RubyGems program | gem command [arguments...] [options...] | null | null |
spfd5.30 | spfd is a simple forking Sender Policy Framework (SPF) query proxy server. spfd receives and answers SPF query requests on a TCP/IP or UNIX domain socket. The --port form listens on a TCP/IP socket on the specified port. The default port is 5970. The --socket form listens on a UNIX domain socket that is created with t... | spfd - simple forking daemon to provide SPF query services VERSION 2006-02-07 | spfd --port port [--set-user uid|username] [--set-group gid|groupname] spfd --socket filename [--socket-user uid|username] [--socket-group gid|groupname] [--socket-perms octal-perms] [--set-user uid|username] [--set-group gid|groupname] spfd --help | null | null |
opendiff | opendiff is a command line utility that provides a convenient way to launch the FileMerge application from Terminal to graphically compare files or directories. If FileMerge is already running, opendiff will connect to that running instance for the new comparison. opendiff exits immediately after the comparison reque... | opendiff – Use FileMerge to graphically compare or merge file or directories | opendiff file1 file2 [-ancestor ancestorFile] [-merge mergeFile] opendiff dir1 dir2 [-ancestor ancestorDirectory] [-merge mergeDirectory] | null | null |
crc325.30 | null | null | null | null | null |
talk | The talk utility is a visual communication program which copies lines from your terminal to that of another user. Options available: person If you wish to talk to someone on your own machine, then person is just the person's login name. If you wish to talk to a user on another host, then person is of the form ‘user@h... | talk – talk to another user | talk person [ttyname] | null | null |
expect | null | expect - programmed dialogue with interactive programs, Version 5 | expect [ -dDinN ] [ -c cmds ] [ [ -[f|b] ] cmdfile ] [ args ] INTRODUCTION Expect is a program that "talks" to other interactive programs according to a script. Following the script, Expect knows what can be expected from a program and what the correct response should be. An interpreted language provides branching an... | null | It many not be apparent how to put everything together that the man page describes. I encourage you to read and try out the examples in the example directory of the Expect distribution. Some of them are real programs. Others are simply illustrative of certain techniques, and of course, a couple are just quick hacks. ... |
jimage | null | null | null | null | null |
lockstat | The lockstat utility gathers and displays kernel locking and profiling statistics. lockstat allows you to specify which events to watch (for example, spin on adaptive mutex, block on read access to rwlock due to waiting writers, and so forth) how much data to gather for each event, and how to display the data. By defau... | lockstat - report kernel lock and profiling statistics | lockstat [-ACEHIS] [-e event_list] [-i rate] [-b | -t | -h | -s depth] [-n nrecords] [-l lock [, size]] [-d duration] [-f function [, size]] [-T] [-ckgwWRpP] [-D count] [-o filename] [-x opt [=val]] command [args] | The following options are supported: Event Selection If no event selection options are specified, the default is -C. -A Watch all lock events. -A is equivalent to -CH. -C Watch contention events. -E Watch error events. -e event_list Only watch the specified events. event list is a comma-separated list of events or rang... | Example 1 Measuring Kernel Lock Contention example# lockstat sleep 5 Adaptive mutex spin: 2210 events in 5.055 seconds (437 events/sec) Count indv cuml rcnt nsec Lock Caller ------------------------------------------------------------------------ 269 12% 12% 1.00 2160 service_queue background+0xdc 249 11% ... |
dapptrace | dapptrace prints details on user and library function calls. By default it traces user functions only, options can be used to trace library activity. Of particular interest is the elapsed times and on cpu times, which can identify both function calls that are slow to complete, and those which are consuming CPU cycles. ... | dapptrace - trace user and library function usage. Uses DTrace. | dapptrace [-acdeFlhoU] [-u lib] { -p PID | 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 function call counts -d print relative timestamps, us -e print elapsed times, us -F print flow indentation -l force printi... | run and examine the "df -h" command, # dapptrace df -h examine PID 1871, # dapptrace -p 1871 print using flow indents, # dapptrace -Fp 1871 print elapsed and CPU times, # dapptrace -eop 1871 FIELDS PID/LWPID Process ID / Lightweight Process ID RELATIVE relative timestamps to the start of the thread, us (microseconds) E... |
xattr | The xattr command can be used to display, modify or remove the extended attributes of one or more files, including directories and symbolic links. Extended attributes are arbitrary metadata stored with a file, but separate from the filesystem attributes (such as modification time or file size). The metadata is often ... | xattr – display and manipulate extended attributes | xattr [-lrsvx] file ... xattr -p [-lrsvx] attr_name file ... xattr -w [-rsx] attr_name attr_value file ... xattr -d [-rsv] attr_name file ... xattr -c [-rsv] file ... xattr -h | --help | -l By default, the first two command forms either displays just the attribute names or values, respectively. The -l option causes both the attribute names and corresponding values to be displayed. For hexadecimal display of values, the output is preceeded with the hexadecimal offset values and followed by ASCII displ... | This example copies the com.apple.FinderInfo attribute from the /usr directory to the MyDir directory: % xattr -px com.apple.FinderInfo /usr 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 % xattr -l MyDir % xattr -wx com.apple.FinderInfo \ "`xattr -px com.apple.FinderInf... |
w | The w utility prints a summary of the current activity on the system, including what each user is doing. The first line displays the current time of day, how long the system has been running, the number of users logged into the system, and the load averages. The load average numbers give the number of jobs in the run... | w – display who is logged in and what they are doing | w [--libxo] [-hin] [user ...] | null | null |
gunzip | 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 |
cat | The cat utility reads files sequentially, writing them to the standard output. The file operands are processed in command-line order. If file is a single dash (‘-’) or absent, cat reads from the standard input. If file is a UNIX domain socket, cat connects to it and then reads it until EOF. This complements the UNI... | cat – concatenate and print files | cat [-belnstuv] [file ...] | null | The command: cat file1 will print the contents of file1 to the standard output. The command: cat file1 file2 > file3 will sequentially print the contents of file1 and file2 to the file file3, truncating file3 if it already exists. See the manual page for your shell (e.g., sh(1)) for more information on redirection. Th... |
echo | The echo utility writes any specified operands, separated by single blank (‘ ’) characters and followed by a newline (‘\n’) character, to the standard output. The following option is available: -n Do not print the trailing newline character. This may also be achieved by appending ‘\c’ to the end of the string, as i... | echo – write arguments to the standard output | echo [-n] [string ...] | null | null |
launchctl | launchctl interfaces with launchd to manage and inspect daemons, agents and XPC services. SUBCOMMANDS launchctl allows for detailed examination of launchd's data structures. The fundamental structures are domains, services, and endpoints. A domain manages the execution policy for a collection of services. A service ma... | launchctl – Interfaces with launchd | launchctl subcommand [arguments ...] | null | null |
df | The df utility displays statistics about the amount of free disk space on the specified mounted file system or on the file system of which file is a part. By default block counts are displayed with an assumed block size of 512 bytes. If neither a file or a file system operand is specified, statistics for all mounted ... | df – display free disk space | df [--libxo] [-b | -g | -H | -h | -k | -m | -P] [-acIilntY] [-,] [-T type] [file | filesystem ...] LEGACY SYNOPSIS df [--libxo] [-b | -g | -H | -h | -k | -m | -P] [-acIilnY] [-,] [-T type] [-t type] [file | filesystem ...] | null | Show human readable free disk space for all mount points including file system type: $ df -ahY Filesystem Type Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1s5s1 apfs 465Gi 15Gi 266Gi 6% 533k 2.8G 0% / devfs devfs 194Ki 194Ki 0Bi 100% 672 0 100% ... |
pwd | The pwd utility writes the absolute pathname of the current working directory to the standard output. Some shells may provide a builtin pwd command which is similar or identical to this utility. Consult the builtin(1) manual page. The options are as follows: -L Display the logical current working directory. -P ... | pwd – return working directory name | pwd [-L | -P] | null | Show current working directory with symbolic links resolved: $ /bin/pwd -P /usr/home/fernape Show the logical current directory. Then use file(1) to inspect the /home directory: $ /bin/pwd /home/fernape $ file /home /home: symbolic link to usr/home SEE ALSO builtin(1), cd(1), csh(1), realpath(1), sh(1), getcwd(3) STAN... |
test | The test utility evaluates the expression and, if it evaluates to true, returns a zero (true) exit status; otherwise it returns 1 (false). If there is no expression, test also returns 1 (false). All operators and flags are separate arguments to the test utility. The following primaries are used to construct expression... | test, [ – condition evaluation utility | test expression [ expression ] | null | Implement test FILE1 -nt FILE2 using only POSIX functionality: test -n "$(find -L -- FILE1 -prune -newer FILE2 2>/dev/null)" This can be modified using non-standard find(1) primaries like -newerca to compare other timestamps. COMPATIBILITY For compatibility with some other implementations, the = primary can be substitu... |
csh | tcsh is an enhanced but completely compatible version of the Berkeley UNIX C shell, csh(1). It is a command language interpreter usable both as an interactive login shell and a shell script command processor. It includes a command-line editor (see The command-line editor), programmable word completion (see Completion... | tcsh - C shell with file name completion and command line editing | tcsh [-bcdefFimnqstvVxX] [-Dname[=value]] [arg ...] tcsh -l | null | null |
wait4path | The wait4path program simply checks to see if the given path exists, and if so, it exits. Otherwise, it sleeps until the mount table is updated and checks again. The program will loop indefinitely until the path shows up in the file system namespace. Darwin December 14, 2013 Darwin | wait4path – wait for given path to show up in the namespace | wait4path ⟨path⟩ | null | null |
unlink | The rm utility attempts to remove the non-directory type files specified on the command line. If the permissions of the file do not permit writing, and the standard input device is a terminal, the user is prompted (on the standard error output) for confirmation. The options are as follows: -d Attempt to remove di... | rm, unlink – remove directory entries | rm [-f | -i] [-dIRrvWx] file ... unlink [--] file | null | Recursively remove all files contained within the foobar directory hierarchy: $ rm -rf foobar Any of these commands will remove the file -f: $ rm -- -f $ rm ./-f $ unlink -f COMPATIBILITY The rm utility differs from historical implementations in that the -f option only masks attempts to remove non-existent files instea... |
sleep | The sleep command suspends execution for a minimum of seconds. If the sleep command receives a signal, it takes the standard action. When the SIGINFO signal is received, the estimate of the amount of seconds left to sleep is printed on the standard output. IMPLEMENTATION NOTES The SIGALRM signal is not handled speciall... | sleep – suspend execution for an interval of time | sleep seconds | null | To schedule the execution of a command for x number seconds later (with csh(1)): (sleep 1800; sh command_file >& errors)& This incantation would wait a half hour before running the script command_file. (See the at(1) utility.) To reiteratively run a command (with the csh(1)): while (1) if (! -r zzz.rawdata) then sleep... |
stty | The stty utility sets or reports on terminal characteristics for the device that is its standard input. If no options or arguments are specified, it reports the settings of a subset of characteristics as well as additional ones if they differ from their default values. Otherwise it modifies the terminal state accordi... | stty – set the options for a terminal device interface | stty [-a | -e | -g] [-f file] [arguments] | null | null |
date | When invoked without arguments, the date utility displays the current date and time. Otherwise, depending on the options specified, date will set the date and time or print it in a user-defined way. The date utility displays the date and time read from the kernel clock. When used to set the date and time, both the ker... | date – display or set date and time | date [-nRu] [-I[FMT]] [-r filename] [-r seconds] [-v[+|-]val[y|m|w|d|H|M|S]] [+output_fmt] date [-jnRu] [-I[FMT]] [-v[+|-]val[y|m|w|d|H|M|S]] [[[mm]dd]HH]MM[[cc]yy][.SS] [+output_fmt] date [-jnRu] [-I[FMT]] [-v[+|-]val[y|m|w|d|H|M|S]] -f input_fmt new_date [+output_fmt] | null | The command: date "+DATE: %Y-%m-%d%nTIME: %H:%M:%S" will display: DATE: 1987-11-21 TIME: 13:36:16 In the Europe/London timezone, the command: date -v1m -v+1y will display: Sun Jan 4 04:15:24 GMT 1998 where it is currently Mon Aug 4 04:15:24 BST 1997. The command: date -v1d -v3m -v0y -v-1d will display the last day of... |
realpath | The realpath utility uses the realpath(3) function to resolve all symbolic links, extra ‘/’ characters and references to /./ and /../ in path. If path is absent, the current working directory (‘.’) is assumed. If -q is specified, warnings will not be printed when realpath(3) fails. EXIT STATUS The realpath utility exi... | realpath – return resolved physical path | realpath [-q] [path ...] | null | Show the physical path of the /dev/log directory silencing warnings if any: $ realpath -q /dev/log /var/run/log SEE ALSO realpath(3) HISTORY The realpath utility first appeared in FreeBSD 4.3. macOS 14.5 June 21, 2011 macOS 14.5 |
ed | The ed utility is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files. When invoked as red, the editor runs in "restricted" mode, in which the only difference is that the editor restricts the use of filenames which start with ‘!’ (interpreted as shell commands by ed)... | ed, red – text editor | ed [-] [-s] [-p string] [file] red [-] [-s] [-p string] [file] | The following options are available: -s Suppress diagnostics. This should be used if ed's standard input is from a script. -p string Specify a command prompt. This may be toggled on and off with the P command. file Specify the name of a file to read. If file is prefixed with a bang (!), then it is interpreted... | null |
expr | The expr utility evaluates expression and writes the result on standard output. All operators and operands must be passed as separate arguments. Several of the operators have special meaning to command interpreters and must therefore be quoted appropriately. All integer operands are interpreted in base 10 and must co... | expr – evaluate expression | expr expression | null | • The following example (in sh(1) syntax) adds one to the variable a: a=$(expr $a + 1) • This will fail if the value of a is a negative number. To protect negative values of a from being interpreted as options to the expr command, one might rearrange the expression: a=$(expr 1 + $a) • More generally, parenthesize p... |
pax | The pax utility will read, write, and list the members of an archive file, and will copy directory hierarchies. These operations are independent of the specific archive format, and support a wide variety of different archive formats. A list of supported archive formats can be found under the description of the -x opt... | pax – read and write file archives and copy directory hierarchies | pax [-0cdjnvzO] [-f archive] [-s replstr] ... [-U user] ... [-G group] ... [-T [from_date] [,to_date]] ... [pattern ...] pax -r [-0cdijknuvzDOYZ] [-f archive] [-o options] ... [-p string] ... [-s replstr] ... [-E limit] [-U user] ... [-G group] ... [-T [from_date] [,to_date]] ... [pattern ...] pax -w [-0dijtuvzHLOPX] [... | The following options are supported: -r Read an archive file from standard input and extract the specified files. If any intermediate directories are needed in order to extract an archive member, these directories will be created as if mkdir(2) was called with the bitwise inclusive OR of S_IRWXU, S_IRWXG, and S_IRW... | The command: pax -w -f /dev/sa0 . copies the contents of the current directory to the device /dev/sa0. The command: pax -v -f filename gives the verbose table of contents for an archive stored in filename. The following commands: mkdir /tmp/to cd /tmp/from pax -rw . /tmp/to will copy the entire /tmp/from directory hier... |
bash | Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh). Bash is intended to be a conformant implementation of the Shell and Utilities portion of the IEEE POSIX specificatio... | bash - GNU Bourne-Again SHell | bash [options] [file] COPYRIGHT Bash is Copyright (C) 1989-2005 by the Free Software Foundation, Inc. | In addition to the single-character shell options documented in the description of the set builtin command, bash interprets the following options when it is invoked: -c string If the -c option is present, then commands are read from string. If there are arguments after the string, they are assigned to the positional p... | null |
kill | The kill utility sends a signal to the processes specified by the pid operands. Only the super-user may send signals to other users' processes. The options are as follows: -s signal_name A symbolic signal name specifying the signal to be sent instead of the default TERM. -l [exit_status] If no operand is given, list th... | kill – terminate or signal a process | kill [-s signal_name] pid ... kill -l [exit_status] kill -signal_name pid ... kill -signal_number pid ... | null | Terminate the processes with PIDs 142 and 157: kill 142 157 Send the hangup signal (SIGHUP) to the process with PID 507: kill -s HUP 507 Terminate the process group with PGID 117: kill -- -117 SEE ALSO builtin(1), csh(1), killall(1), ps(1), sh(1), kill(2), sigaction(2) STANDARDS The kill utility is expected to be IEEE ... |
sh | sh is a POSIX-compliant command interpreter (shell). It is implemented by re-execing as either bash(1), dash(1), or zsh(1) as determined by the symbolic link located at /private/var/select/sh. If /private/var/select/sh does not exist or does not point to a valid shell, sh will use one of the supported shells. FILES /... | sh – POSIX-compliant command interpreter | sh [options] | null | null |
ps | The ps utility displays a header line, followed by lines containing information about all of your processes that have controlling terminals. A different set of processes can be selected for display by using any combination of the -a, -G, -g, -p, -T, -t, -U, and -u options. If more than one of these options are given, ... | ps – process status | ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]] [-g grp[,grp...]] [-u uid[,uid...]] [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]] ps [-L] | null | null |
link | The ln utility creates a new directory entry (linked file) for the file name specified by target_file. The target_file will be created with the same file modes as the source_file. It is useful for maintaining multiple copies of a file in many places at once without using up storage for the “copies”; instead, a link “... | ln, link – link files | ln [-L | -P | -s [-F]] [-f | -iw] [-hnv] source_file [target_file] ln [-L | -P | -s [-F]] [-f | -iw] [-hnv] source_file ... target_dir link source_file target_file | null | Create a symbolic link named /home/src and point it to /usr/src: # ln -s /usr/src /home/src Hard link /usr/local/bin/fooprog to file /usr/local/bin/fooprog-1.0: # ln /usr/local/bin/fooprog-1.0 /usr/local/bin/fooprog As an exercise, try the following commands: # ls -i /bin/[ 11553 /bin/[ # ls -i /bin/test 11553 /bin/tes... |
tcsh | tcsh is an enhanced but completely compatible version of the Berkeley UNIX C shell, csh(1). It is a command language interpreter usable both as an interactive login shell and a shell script command processor. It includes a command-line editor (see The command-line editor), programmable word completion (see Completion... | tcsh - C shell with file name completion and command line editing | tcsh [-bcdefFimnqstvVxX] [-Dname[=value]] [arg ...] tcsh -l | null | null |
dd | The dd utility copies the standard input to the standard output. Input data is read and written in 512-byte blocks. If input reads are short, input from multiple reads are aggregated to form the output block. When finished, dd displays the number of complete and partial input and output blocks and truncated input re... | dd – convert and copy a file | dd [operands ...] | null | Check that a disk drive contains no bad blocks: dd if=/dev/ada0 of=/dev/null bs=1m Do a refresh of a disk drive, in order to prevent presently recoverable read errors from progressing into unrecoverable read errors: dd if=/dev/ada0 of=/dev/ada0 bs=1m Remove parity bit from a file: dd if=file conv=parnone of=file.txt Ch... |
mkdir | The mkdir utility creates the directories named as operands, in the order specified, using mode “rwxrwxrwx” (0777) as modified by the current umask(2). The options are as follows: -m mode Set the file permission bits of the final created directory to the specified mode. The mode argument can be in any of the forma... | mkdir – make directories | mkdir [-pv] [-m mode] directory_name ... | null | Create a directory named foobar: $ mkdir foobar Create a directory named foobar and set its file mode to 700: $ mkdir -m 700 foobar Create a directory named cow/horse/monkey, creating any non-existent intermediate directories as necessary: $ mkdir -p cow/horse/monkey COMPATIBILITY The -v option is non-standard and its ... |
ksh | Ksh is a command and programming language that executes commands read from a terminal or a file. Rksh is a restricted version of the command interpreter ksh; it is used to set up login names and execution environments whose capabilities are more controlled than those of the standard shell. Rpfksh is a profile shell ve... | ksh, rksh, pfksh - KornShell, a standard/restricted command and programming language NOTE Currently, rksh and pfksh are not available on Mac OS X / Darwin. | ksh [ ±abcefhikmnoprstuvxBCDP ] [ -R file ] [ ±o option ] ... [ - ] [ arg ... ] rksh [ ±abcefhikmnoprstuvxBCD ] [ -R file ] [ ±o option ] ... [ - ] [ arg ... ] | null | null |
hostname | The hostname utility prints the name of the current host. The super-user can set the hostname by supplying an argument. To keep the hostname between reboots, run ‘scutil --set HostName name-of-host’. Options: -f Include domain information in the printed name. This is the default behavior. -s Trim off any domain... | hostname – set or print name of current host system | hostname [-f] [-s | -d] [name-of-host] | null | Set the host name of the machine and check the result: $ hostname beastie.localdomain.org $ hostname beastie.localdomain.org Do not show domain information: $ hostname -s beastie Show only domain information: $ hostname -d localdomain.org SEE ALSO gethostname(3), scutil(8) HISTORY The hostname command appeared in 4.2BS... |
dash | dash is the standard command interpreter for the system. The current version of dash is in the process of being changed to conform with the POSIX 1003.2 and 1003.2a specifications for the shell. This version has many features which make it appear similar in some respects to the Korn shell, but it is not a Korn shell ... | dash – command interpreter (shell) | dash [-aCefnuvxIimqVEb] [+aCefnuvxIimqVEb] [-o option_name] [+o option_name] [command_file [argument ...]] dash -c [-aCefnuvxIimqVEb] [+aCefnuvxIimqVEb] [-o option_name] [+o option_name] command_string [command_name [argument ...]] dash -s [-aCefnuvxIimqVEb] [+aCefnuvxIimqVEb] [-o option_name] [+o option_name] [argumen... | null | null |
rmdir | The rmdir utility removes the directory entry specified by each directory argument, provided it is empty. Arguments are processed in the order given. In order to remove both a parent directory and a subdirectory of that parent, the subdirectory must be specified first so the parent directory is empty when rmdir tries ... | rmdir – remove directories | rmdir [-pv] directory ... | null | Remove the directory foobar, if it is empty: $ rmdir foobar Remove all directories up to and including cow, stopping at the first non-empty directory (if any): $ rmdir -p cow/horse/monkey SEE ALSO rm(1) STANDARDS The rmdir utility is expected to be IEEE Std 1003.2 (“POSIX.2”) compatible. HISTORY A rmdir command appeare... |
mv | In its first form, the mv utility renames the file named by the source operand to the destination path named by the target operand. This form is assumed when the last operand does not name an already existing directory. In its second form, mv moves each file named by a source operand to a destination file in the exist... | mv – move files | mv [-f | -i | -n] [-hv] source target mv [-f | -i | -n] [-v] source ... directory | null | Rename file foo to bar, overwriting bar if it already exists: $ mv -f foo bar COMPATIBILITY The -h, -n, and -v options are non-standard and their use in scripts is not recommended. The mv utility now supports HFS+ Finder and Extended Attributes and resource forks. The mv utility will no longer strip resource forks off... |
ln | The ln utility creates a new directory entry (linked file) for the file name specified by target_file. The target_file will be created with the same file modes as the source_file. It is useful for maintaining multiple copies of a file in many places at once without using up storage for the “copies”; instead, a link “... | ln, link – link files | ln [-L | -P | -s [-F]] [-f | -iw] [-hnv] source_file [target_file] ln [-L | -P | -s [-F]] [-f | -iw] [-hnv] source_file ... target_dir link source_file target_file | null | Create a symbolic link named /home/src and point it to /usr/src: # ln -s /usr/src /home/src Hard link /usr/local/bin/fooprog to file /usr/local/bin/fooprog-1.0: # ln /usr/local/bin/fooprog-1.0 /usr/local/bin/fooprog As an exercise, try the following commands: # ls -i /bin/[ 11553 /bin/[ # ls -i /bin/test 11553 /bin/tes... |
ls | For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names of files contained within that directory, as well as any requested, associated information. If no operand... | ls – list directory contents | ls [-@ABCFGHILOPRSTUWabcdefghiklmnopqrstuvwxy1%,] [--color=when] [-D format] [file ...] | null | List the contents of the current working directory in long format: $ ls -l In addition to listing the contents of the current working directory in long format, show inode numbers, file flags (see chflags(1)), and suffix each filename with a symbol representing its file type: $ ls -lioF List the files in /var/log, sorti... |
cp | In the first synopsis form, the cp utility copies the contents of the source_file to the target_file. In the second synopsis form, the contents of each named source_file is copied to the destination target_directory. The names of the files themselves are not changed. If cp detects an attempt to copy a file to itself,... | cp – copy files | cp [-R [-H | -L | -P]] [-fi | -n] [-alpSsvXx] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-alpSsvXx] source_file ... target_directory cp [-f | -i | -n] [-alPpSsvx] source_file target_file cp [-f | -i | -n] [-alPpSsvx] source_file ... target_directory | null | Make a copy of file foo named bar: $ cp foo bar Copy a group of files to the /tmp directory: $ cp *.txt /tmp Copy the directory junk and all of its contents (including any subdirectories) to the /tmp directory: $ cp -R junk /tmp COMPATIBILITY Historic versions of the cp utility had a -r option. This implementation sup... |
sync | The sync utility can be called to ensure that all disk writes have been completed before the processor is halted in a way not suitably done by reboot(8) or halt(8). Generally, it is preferable to use reboot(8) or halt(8) to shut down the system, as they may perform additional actions such as resynchronizing the hardwa... | sync – force completion of pending disk writes (flush cache) | sync | null | null |
zsh | Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. It does not provide compatibility with POSIX or other shells in its default operating mode: see the section `Com... | zsh - the Z shell OVERVIEW Because zsh contains many features, the zsh manual has been split into a number of sections: zsh Zsh overview (this section) zshroadmap Informal introduction to the manual zshmisc Anything not fitting into the other sections zshexpn Zsh command and parameter expansion zshparam ... | null | null | null |
chmod | The chmod utility modifies the file mode bits of the listed files as specified by the mode operand. It may also be used to modify the Access Control Lists (ACLs) associated with the listed files. The generic options are as follows: -f Do not display a diagnostic message if chmod could not modify the mode for file,... | chmod – change file modes or Access Control Lists | chmod [-fhv] [-R [-H | -L | -P]] mode file ... chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a] ACE file ... chmod [-fhv] [-R [-H | -L | -P]] [-E] file ... chmod [-fhv] [-R [-H | -L | -P]] [-C] file ... chmod [-fhv] [-R [-H | -L | -P]] [-N] file ... | null | # ls -le -rw-r--r--+ 1 juser wheel 0 Apr 28 14:06 file1 # chmod +a "admin allow write" file1 # ls -le -rw-r--r--+ 1 juser wheel 0 Apr 28 14:06 file1 owner: juser 1: admin allow write # chmod +a "guest deny read" file1 # ls -le -rw-r--r--+ 1 juser wheel 0 Apr 28 14:06 file1 owner: juser 1: guest deny read 2: admin... |
rm | The rm utility attempts to remove the non-directory type files specified on the command line. If the permissions of the file do not permit writing, and the standard input device is a terminal, the user is prompted (on the standard error output) for confirmation. The options are as follows: -d Attempt to remove di... | rm, unlink – remove directory entries | rm [-f | -i] [-dIRrvWx] file ... unlink [--] file | null | Recursively remove all files contained within the foobar directory hierarchy: $ rm -rf foobar Any of these commands will remove the file -f: $ rm -- -f $ rm ./-f $ unlink -f COMPATIBILITY The rm utility differs from historical implementations in that the -f option only masks attempts to remove non-existent files instea... |
[ | The test utility evaluates the expression and, if it evaluates to true, returns a zero (true) exit status; otherwise it returns 1 (false). If there is no expression, test also returns 1 (false). All operators and flags are separate arguments to the test utility. The following primaries are used to construct expression... | test, [ – condition evaluation utility | test expression [ expression ] | null | Implement test FILE1 -nt FILE2 using only POSIX functionality: test -n "$(find -L -- FILE1 -prune -newer FILE2 2>/dev/null)" This can be modified using non-standard find(1) primaries like -newerca to compare other timestamps. COMPATIBILITY For compatibility with some other implementations, the = primary can be substitu... |
dsconfigad | This tool allows command-line configuration of the Active Directory. dsconfigad has the same functionality for configuring the Active Directory as the Directory Utility application. It requires "admin" privileges to the local workstation and to the Directory to make changes. A list of flags and their descriptions: -ad... | dsconfigad – retrieves/changes configuration for Active Directory. | dsconfigad -help dsconfigad -show [-xml] dsconfigad -add fqdn -username username [-password password] [-computer computerid] [-ou dn] [-preferred server] [-force] [-localuser username] [-localpassword password] [-packetencrypt allow | disable | require | ssl] dsconfigad -leave [-localuser username] [-localpassword pass... | null | Adding a computer to a Directory: dsconfigad -add domain.ads.example.com -computer ThisComputer -username "administrator" -ou "CN=Computers,OU=Engineering,DC=ads,DC=example,DC=com" Giving a set of groups administrative access to the local computer: dsconfigad -groups "DOMAIN\domain admins,FOREST\enterprise admins,DOMAI... |
htdbm | null | htdbm - Manipulate DBM password databases | htdbm [ -TDBTYPE ] [ -i ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ] filename username htdbm -b [ -TDBTYPE ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ] filename username password htdbm -n [ -i ] [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -t ] [ -v ] username htdbm -nb [ -c ] [ -m ... | -b Use batch mode; i.e., get the password from the command line rather than prompting for it. This option should be used with extreme care, since the password is clearly visible on the command line. For script use see the -i option. -i Read the password from stdin without verification (for script usage). -c ... | htdbm /usr/local/etc/apache/.htdbm-users jsmith Adds or modifies the password for user jsmith. The user is prompted for the password. If executed on a Windows system, the password will be encrypted using the modified Apache MD5 algorithm; otherwise, the system's crypt() routine will be used. If the file does not exist,... |
netbiosd | netbiosd is responsible for interacting with NetBIOS networks. netbiosd registers and defends one or more NetBIOS name, depending on the set of configured services. It also browses and scavenges names from the NetBIOS network, making them available to the system through mDNSResponder. | netbiosd – NetBIOS protocol daemon | netbiosd [options] | -debug The service will log extensive debug information and may perform extra diagnostic checks. This option is typically only useful for debugging. -dump-packets Pretty-print all sent and received NetBIOS packets to the output log. This option is typically only useful for debugging. -help Prints a usage message a... | null |
postlock | The postlock(1) command locks file for exclusive access, and executes command. The locking method is compatible with the Postfix UNIX-style local delivery agent. Options: -c config_dir Read the main.cf configuration file in the named directory instead of the default configuration directory. -l lock_style Override the l... | postlock - lock mail folder and execute command | postlock [-c config_dir] [-l lock_style] [-v] file command... | null | null |
systemsoundserverd | systemsoundserverd is a daemon used for Core Audio related purposes. systemsoundserverd was introduced with OSX version 10.11. Darwin Mon June 8 2015 Darwin | systemsoundserverd | systemsoundserverd | null | null |
dseditgroup | dseditgroup allows manipulation of a single named group record on either the default local node or the specified DirectoryService node. For the "read" operation the authentication search policy (/Search node) is consulted. Default behaviour is presented below after a discussion of each operation and the possible parame... | dseditgroup – group record manipulation tool. | dseditgroup [options] [parameters] groupname options: -o operation perform (read, create, delete, edit, checkmember) operation with given groupname -p prompt for authentication password -q disables interactive verification -v verbose logging to stdout parameters: -m member username to use for c... | null | dseditgroup extragroup dseditgroup -o read extragroup The attributes of the group extragroup from the local node are displayed. dseditgroup -o create -n /LDAPv3/ldap.company.com -u myusername -P mypassword -r "Extra Group" -c "a nice comment" -s 3600 -k "some keyword" extragroup The group extragroup is created from the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.