coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

coreutils/man/rand.1 (51 lines, 1.2 KiB) -rw-r--r-- file download

e2140ec Jamozed 2022-03-06 15:27:45
0
.TH RAND 1 2022-03-06 "OMKOV coreutils" "General Commands Manual"
d798a09 Jamozed 2020-06-27 02:00:02
1
.SH NAME
d798a09 Jamozed 2020-06-27 02:00:02
2
rand \(em generate random string
d798a09 Jamozed 2020-06-27 02:00:02
3
.SH SYNOPSYS
d798a09 Jamozed 2020-06-27 02:00:02
4
\fBrand\fR [-aAns] [\fIlength\fR]
d798a09 Jamozed 2020-06-27 02:00:02
5
.SH DESCRIPTION
d798a09 Jamozed 2020-06-27 02:00:02
6
Generate a random string of \fIlength\fR characters long. The string will
d798a09 Jamozed 2020-06-27 02:00:02
7
contain the character types specified by the -a, -A, -n, and -s options, those
d798a09 Jamozed 2020-06-27 02:00:02
8
being lowercase letters, uppercase letters, numbers and symbols respectively. If
d798a09 Jamozed 2020-06-27 02:00:02
9
no \fIlength\fR is specified, a default of 8 will be used. If no character type
d798a09 Jamozed 2020-06-27 02:00:02
10
options are specified, \fIrand\fR will generate a random string containing
d798a09 Jamozed 2020-06-27 02:00:02
11
uppercase letters and numbers.
d798a09 Jamozed 2020-06-27 02:00:02
12
.SH OPTIONS
d798a09 Jamozed 2020-06-27 02:00:02
13
The following options are supported:
d798a09 Jamozed 2020-06-27 02:00:02
14
.TP
d798a09 Jamozed 2020-06-27 02:00:02
15
.B -a
d798a09 Jamozed 2020-06-27 02:00:02
16
Enable lowercase letters in the string output.
d798a09 Jamozed 2020-06-27 02:00:02
17
.TP
d798a09 Jamozed 2020-06-27 02:00:02
18
.B -A
d798a09 Jamozed 2020-06-27 02:00:02
19
Enable uppercase letters in the string output.
d798a09 Jamozed 2020-06-27 02:00:02
20
.TP
d798a09 Jamozed 2020-06-27 02:00:02
21
.B -n
d798a09 Jamozed 2020-06-27 02:00:02
22
Enable numbers in the string output.
d798a09 Jamozed 2020-06-27 02:00:02
23
.TP
d798a09 Jamozed 2020-06-27 02:00:02
24
.B -s
d798a09 Jamozed 2020-06-27 02:00:02
25
Enable symbols '!@#$%^&*' in the string output.
d798a09 Jamozed 2020-06-27 02:00:02
26
.TP
d798a09 Jamozed 2020-06-27 02:00:02
27
.B --help
d798a09 Jamozed 2020-06-27 02:00:02
28
Display help information.
d798a09 Jamozed 2020-06-27 02:00:02
29
.TP
d798a09 Jamozed 2020-06-27 02:00:02
30
.B --version
d798a09 Jamozed 2020-06-27 02:00:02
31
Display version information.
d798a09 Jamozed 2020-06-27 02:00:02
32
.SH OPERANDS
d798a09 Jamozed 2020-06-27 02:00:02
33
The following operand is supported:
d798a09 Jamozed 2020-06-27 02:00:02
34
.TP
d798a09 Jamozed 2020-06-27 02:00:02
35
.I length
d798a09 Jamozed 2020-06-27 02:00:02
36
The length of the string output.
d798a09 Jamozed 2020-06-27 02:00:02
37
.SH EXIT STATUS
d798a09 Jamozed 2020-06-27 02:00:02
38
The following exit values will be returned:
d798a09 Jamozed 2020-06-27 02:00:02
39
.TP
d798a09 Jamozed 2020-06-27 02:00:02
40
\ 0
d798a09 Jamozed 2020-06-27 02:00:02
41
Successful completion.
d798a09 Jamozed 2020-06-27 02:00:02
42
.TP
d798a09 Jamozed 2020-06-27 02:00:02
43
>0
d798a09 Jamozed 2020-06-27 02:00:02
44
An error occurred.
d798a09 Jamozed 2020-06-27 02:00:02
45
.SH COPYRIGHT
d798a09 Jamozed 2020-06-27 02:00:02
46
.nf
d798a09 Jamozed 2020-06-27 02:00:02
47
Copyright (C) 2020, Jakob Wakeling
e2140ec Jamozed 2022-03-06 15:27:45
48
MIT Licence (https://opensource.org/licenses/MIT)
d798a09 Jamozed 2020-06-27 02:00:02
49
.fi
50