c1c576b |
Jamozed |
2022-02-05 22:32:19 |
0
|
# coreutils |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
1
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
2
|
A collection of general software utilities commonly found on UNIX systems. |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
3
|
|
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
4
|
## Utilities |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
5
|
|
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
6
|
| Utility | Description | Standard | |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
7
|
| ---------------- | ---------------------------------------- | -------- | |
195ab4c |
Jamozed |
2021-01-11 15:26:50 |
8
|
| base64* | Base64 encode or decode data | | |
703c1e1 |
Jamozed |
2020-06-26 15:54:59 |
9
|
| basename | Return non-directory portion of a path | POSIX | |
34337b4 |
Jamozed |
2020-06-26 14:17:26 |
10
|
| cat | Concatenate and print files | POSIX | |
70ce5b0 |
Jamozed |
2020-11-13 00:17:34 |
11
|
| chmod | Change the file modes | POSIX | |
6351c50 |
Jamozed |
2020-07-26 19:04:26 |
12
|
| cksum | Write file checksums and sizes | POSIX | |
d920c1b |
Jamozed |
2021-03-07 23:52:19 |
13
|
| cp | Copy files | POSIX | |
fe24453 |
Jamozed |
2020-06-26 16:25:00 |
14
|
| dirname | Return the directory portion of a path | POSIX | |
ba7d1e0 |
Jamozed |
2020-06-26 16:58:05 |
15
|
| echo | Write arguments to standard output | POSIX | |
e2c696c |
Jamozed |
2020-06-27 01:05:32 |
16
|
| env | Execute with an altered enviroment | POSIX | |
16cc815 |
Jamozed |
2020-06-26 15:08:55 |
17
|
| false | Return false value | POSIX | |
998882e |
Jamozed |
2020-06-27 03:37:26 |
18
|
| head | Output the first part of files | POSIX | |
8b4f999 |
Jamozed |
2020-06-27 14:00:03 |
19
|
| id\* | Return user identity | POSIX | |
d1a0c88 |
Jamozed |
2020-06-26 18:09:15 |
20
|
| link | Create a link to a file | POSIX | |
4e723d6 |
Jamozed |
2020-06-26 22:33:17 |
21
|
| logname | Return the user's login name | POSIX | |
d3522e7 |
Jamozed |
2020-06-26 18:42:30 |
22
|
| mkdir | Make directories | POSIX | |
5cf73ae |
Jamozed |
2020-11-17 13:11:49 |
23
|
| nice | Invoke with an altered nice value | POSIX | |
1086f2e |
Jamozed |
2020-11-17 13:22:30 |
24
|
| orphan | Invoke a command as an orphan | | |
c1461fb |
Jamozed |
2020-06-27 14:35:08 |
25
|
| od\* | Dump files in various formats | POSIX | |
b3fcfc9 |
Jamozed |
2020-06-26 22:55:54 |
26
|
| pwd | Print working directory | POSIX | |
d798a09 |
Jamozed |
2020-06-27 02:00:02 |
27
|
| rand | Generate random string | | |
44d97c8 |
Jamozed |
2020-06-27 02:13:22 |
28
|
| realpath | Resolve an absolute pathname | | |
60762e4 |
Jamozed |
2022-09-11 15:06:17 |
29
|
| relogin | Invoke a command as a specified user | | |
dee2949 |
Jamozed |
2020-06-26 22:08:46 |
30
|
| rmdir | Remove directories | POSIX | |
e0fc3a5 |
Jamozed |
2020-06-26 23:26:39 |
31
|
| sleep | Suspend execution for an interval | POSIX | |
5e04987 |
Jamozed |
2020-07-26 21:28:20 |
32
|
| sum | Write file checksums and block counts | | |
8f5291e |
Jamozed |
2020-06-26 23:32:39 |
33
|
| sync | Synchronise file system caches to disk | | |
8883cf3 |
Jamozed |
2020-06-26 17:27:18 |
34
|
| tee | Duplicate standard input | POSIX | |
29dd2d0 |
Jamozed |
2020-07-06 03:21:49 |
35
|
| time | Time a simple command | POSIX | |
214225f |
Jamozed |
2020-06-28 00:01:03 |
36
|
| touch | Change file access and modify times | POSIX | |
479626e |
Jamozed |
2020-06-26 15:07:06 |
37
|
| true | Return true value | POSIX | |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
38
|
| tty | Return user's terminal name | POSIX | |
35a6103 |
Jamozed |
2020-06-27 00:36:30 |
39
|
| uname | Return system name | POSIX | |
0534c26 |
Jamozed |
2020-06-26 18:12:01 |
40
|
| unlink | Remove a file using the unlink function | POSIX | |
1fcd349 |
Jamozed |
2021-01-08 03:07:11 |
41
|
| wc | Word, line, and byte or character count | POSIX | |
cf2d47a |
Jamozed |
2020-06-26 17:04:08 |
42
|
| yes | Output a string repeatedly | | |
8b4f999 |
Jamozed |
2020-06-27 14:00:03 |
43
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
44
|
- Utilities marked with an asterisk ('*') may be incomplete or non-complaint. |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
45
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
46
|
## Usage |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
47
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
48
|
**coreutils** is being developed on x86-64 Linux, and is untested elsewhere. |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
49
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
50
|
### Dependencies |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
51
|
|
a083347 |
Jakob Wakeling |
2024-04-14 14:04:57 |
52
|
- A C23 capable compiler, to build |
60762e4 |
Jamozed |
2022-09-11 15:06:17 |
53
|
- CMake >= 3.14, to build |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
54
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
55
|
### Building |
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
56
|
|
a083347 |
Jakob Wakeling |
2024-04-14 14:04:57 |
57
|
To build **coreutils**, run `make build`. |
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
58
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
59
|
### Running |
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
60
|
|
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
61
|
For information on each utility see its respective manpage or use the `--help` |
c1c576b |
Jamozed |
2022-02-05 22:32:19 |
62
|
option. |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
63
|
|
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
64
|
## Meta |
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
65
|
|
ca86cbe |
Jamozed |
2020-06-26 14:06:57 |
66
|
Copyright (C) 2020, Jakob Wakeling |
e2140ec |
Jamozed |
2022-03-06 15:27:45 |
67
|
[MIT Licence](https://opensource.org/licenses/MIT) |
|
|
|
68
|
|