instruction
stringlengths 20
51
| output
stringlengths 15
8.88k
|
---|---|
What does the command `b2sum` do? | b2sum - compute and check BLAKE2 message digest |
How is the `b2sum` used? | b2sum [OPTION]... [FILE]... |
What is the detailed desciption of the `b2sum`? | Print or check BLAKE2b (512-bit) checksums.
With no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short options too.
-b, --binary
read in binary mode
-c, --check
read checksums from the FILEs and check them
-l, --length=BITS
digest length in bits; must not exceed the max for the blake2 algorithm and must be a multiple of 8
--tag create a BSD-style checksum
-t, --text
read in text mode (default)
-z, --zero
end each output line with NUL, not newline, and disable file name escaping
The following five options are useful only when verifying checksums:
--ignore-missing
don't fail or report status for missing files
--quiet
don't print OK for each successfully verified file
--status
don't output anything, status code shows success
--strict
exit non-zero for improperly formatted checksum lines
-w, --warn
warn about improperly formatted checksum lines
--help display this help and exit
--version
output version information and exit
The sums are computed as described in RFC 7693. When checking, the input should be a former output of this pro‐
gram. The default mode is to print a line with: checksum, a space, a character indicating input mode ('*' for
binary, ' ' for text or where binary is insignificant), and name for each FILE.
Note: There is no difference between binary mode and text mode on GNU systems. |
What does the command `arch` do? | arch - print machine hardware name (same as uname -m) |
How is the `arch` used? | arch [OPTION]... |
What is the detailed desciption of the `arch`? | Print machine architecture.
--help display this help and exit
--version
output version information and exit |
What does the command `mktemp` do? | mktemp - create a temporary file or directory |
How is the `mktemp` used? | mktemp [OPTION]... [TEMPLATE] |
What is the detailed desciption of the `mktemp`? | Create a temporary file or directory, safely, and print its name. TEMPLATE must contain at least 3 consecutive
'X's in last component. If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and --tmpdir is implied. Files are
created u+rw, and directories u+rwx, minus umask restrictions.
-d, --directory
create a directory, not a file
-u, --dry-run
do not create anything; merely print a name (unsafe)
-q, --quiet
suppress diagnostics about file/dir-creation failure
--suffix=SUFF
append SUFF to TEMPLATE; SUFF must not contain a slash. This option is implied if TEMPLATE does not end
in X
-p DIR, --tmpdir[=DIR]
interpret TEMPLATE relative to DIR; if DIR is not specified, use $TMPDIR if set, else /tmp. With this
option, TEMPLATE must not be an absolute name; unlike with -t, TEMPLATE may contain slashes, but mktemp
creates only the final component
-t interpret TEMPLATE as a single file name component, relative to a directory: $TMPDIR, if set; else the
directory specified via -p; else /tmp [deprecated]
--help display this help and exit
--version
output version information and exit |
What does the command `split` do? | split - split a file into pieces |
How is the `split` used? | split [OPTION]... [FILE [PREFIX]] |
What is the detailed desciption of the `split`? | Output pieces of FILE to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is 'x'.
With no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short options too.
-a, --suffix-length=N
generate suffixes of length N (default 2)
--additional-suffix=SUFFIX
append an additional SUFFIX to file names
-b, --bytes=SIZE
put SIZE bytes per output file
-C, --line-bytes=SIZE
put at most SIZE bytes of records per output file
-d use numeric suffixes starting at 0, not alphabetic
--numeric-suffixes[=FROM]
same as -d, but allow setting the start value
-x use hex suffixes starting at 0, not alphabetic
--hex-suffixes[=FROM]
same as -x, but allow setting the start value
-e, --elide-empty-files
do not generate empty output files with '-n'
--filter=COMMAND
write to shell COMMAND; file name is $FILE
-l, --lines=NUMBER
put NUMBER lines/records per output file
-n, --number=CHUNKS
generate CHUNKS output files; see explanation below
-t, --separator=SEP
use SEP instead of newline as the record separator; '\0' (zero) specifies the NUL character
-u, --unbuffered
immediately copy input to output with '-n r/...'
--verbose
print a diagnostic just before each output file is opened
--help display this help and exit
--version
output version information and exit
The SIZE argument is an integer and optional unit (example: 10K is 10*1024). Units are K,M,G,T,P,E,Z,Y,R,Q
(powers of 1024) or KB,MB,... (powers of 1000). Binary prefixes can be used, too: KiB=K, MiB=M, and so on.
CHUNKS may be:
N split into N files based on size of input
K/N output Kth of N to stdout
l/N split into N files without splitting lines/records
l/K/N output Kth of N to stdout without splitting lines/records
r/N like 'l' but use round robin distribution
r/K/N likewise but only output Kth of N to stdout |
What does the command `yes` do? | yes - output a string repeatedly until killed |
How is the `yes` used? | yes [STRING]...
yes OPTION |
What is the detailed desciption of the `yes`? | Repeatedly output a line with all specified STRING(s), or 'y'.
--help display this help and exit
--version
output version information and exit |
What does the command `users` do? | users - print the user names of users currently logged in to the current host |
How is the `users` used? | users [OPTION]... [FILE] |
What is the detailed desciption of the `users`? | Output who is currently logged in according to FILE. If FILE is not specified, use /var/run/utmp.
/var/log/wtmp as FILE is common.
--help display this help and exit
--version
output version information and exit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.