This commit focuses on the CLI utilities.
@@ -25,14 +25,8 @@ for i in ( \
(config 1) \
(fortune 1) \
(grep 1) \
- (gunzip 1) \
- (gzip 1) \
- (ifconfig 1) \
- (lsof 1) \
(nc 1) \
- (netstat 1) \
(nl 1) \
- (ntpquery 1) \
(passwd 1) \
(readelf 1) \
(shot 1) \
@@ -40,9 +34,7 @@ for i in ( \
(strace 1) \
(tr 1) \
(traceroute 1) \
- (tree 1) \
(truncate 1) \
- (utmpupdate 1) \
) {
filename="generated_manpages/man$i[1]/$i[0].md"
mkdir -p "generated_manpages/man$i[1]"
@@ -50,4 +50,4 @@ $ Profiler perfcore.123
## See also
* [`perfcore`(5)](help://man/5/perfcore)
-
+* [`profile`(1)](help://man/1/profile)
@@ -51,3 +51,8 @@ cat test.txt test2.txt
123
456
```
+
+## See Also
+* [`head`(1)](help://man/1/head)
+* [`tail`(1)](help://man/1/tail)
+* [`cut`(1)](help://man/1/cut)
@@ -27,3 +27,6 @@ Compare two files and report the location of any differences. By default, execut
* 0 - Files are identical.
* 1 - Files are different.
* 2 - An error occurred.
+## See also
+* [`comm`(1)](help://man/1/comm)
@@ -48,3 +48,6 @@ $ sort < file1 | comm -12c - file2_sorted | less
# and print a summary
$ comm -123it file1_sorted file2_sorted
+* [`cmp`(1)](help://man/1/cmp)
@@ -26,3 +26,6 @@ $ cat image.png | copy -t image/png
# Place text 'foo' in clipboard
$ copy foo
+* [`clipboard`(5)](help://man/5/clipboard)
@@ -34,3 +34,6 @@ $ cp -R tests tests-backup
# Copy test file into existing root
$ cp test root
+* [`mv`(1)](help://man/1/mv)
@@ -47,3 +47,7 @@ $ echo "serenity is cool" | cut -b 5
n
+* [`cat`(1)](help://man/1/cat)
@@ -37,3 +37,6 @@ $ date +%Y-%m-%d
# Set date to 1610017485 (UNIX time)
$ date -s 1610017485
+* [`ntpquery`(1)](help://man/1/ntpquery)
@@ -70,4 +70,5 @@ $ expr substr foobar 1 3 # foo
+* [`test`(1)](help://man/1/test)
+* [`js`(1)](help://man/1/js) for evaluating more complex expressions
@@ -21,3 +21,6 @@ $ gml-format [--inplace] [path...]
```sh
$ gml-format -i /home/anon/example.gml
+* [`GML`(5)](help://man/5/GML)
@@ -29,3 +29,6 @@ $ groups nona
$ groups nona anon root
+* [`groupdel`(8)](help://man/8/groupdel)
+* [`groupadd`(8)](help://man/8/groupadd)
@@ -17,4 +17,6 @@ $ gunzip [--keep] [--stdout] <FILE...>
* `FILE`: File to decompress
-<!-- Auto-generated through ArgsParser -->
+* [`gzip`(1)](help://man/1/gzip)
+* [`tar`(1)](help://man/1/tar)
@@ -18,4 +18,6 @@ $ gzip [--keep] [--stdout] [--decompress] <FILES...>
* `FILES`: Files
+* [`gunzip`(1)](help://man/1/gunzip)
@@ -39,3 +39,6 @@ Graphical Unix-like operating system for x86 computers.
@@ -37,3 +37,5 @@ $ id -G
* [`whoami`(1)](help://man/1/whoami)
+* [`groups`(1)](help://man/1/groups)
+* [`usermod`(8)](help://man/8/usermod)
@@ -19,3 +19,7 @@ Display or modify the configuration of each network interface.
* `-m mask`, `--mask mask`: Set the network mask of the selected network
<!-- Auto-generated through ArgsParser -->
+* [`Network`(5)](help://man/5/Network)
+* [`netstat`(1)](help://man/1/netstat)
@@ -30,3 +30,7 @@ $ jail-attach -i 0 ps -ef
# Attach the command "/bin/Shell" to a new jail with the name "test jail"
$ jail-attach -n "test jail" /bin/Shell
+* [`jail-create`(1)](help://man/1/jail-create)
+* [`lsjails`(1)](help://man/1/lsjails)
@@ -25,3 +25,7 @@ $ jail-create test-jail
# Create jail with the name "test-jail", with PID isolation
$ jail-create -p test-jail
+* [`jail-attach`(1)](help://man/1/jail-attach)
@@ -54,3 +54,5 @@ $ ls /etc
$ ls -la /etc
+* [`tree`(1)](help://man/1/tree) to show the contents of the directory and subdirectories in a tree visualization
@@ -20,3 +20,7 @@ Please note that if the current process is in jail, it will not see any jail.
Index Name
2 test-jail
@@ -23,4 +23,6 @@ List open files of a processes. This can mean actual files in the file system, s
* `filename`: Filename
+* [`pmap`(1)](help://man/1/pmap)
+* [`ps`(1)](help://man/1/ps)
@@ -26,3 +26,6 @@ Here's how you can render this man page into HTML:
$ md --html /usr/share/man/man1/md.md
+* [`man`(1)](help://man/1/man) to more easily read manpages
@@ -32,3 +32,7 @@ $ mktemp -u
# Create a temporary directory with a custom template
$ mktemp -d serenity.XXXXX
+* [`mkdir`(1)](help://man/1/mkdir) to create a regular directory
+* [`touch`(1)](help://man/1/touch) to create a regular file
@@ -26,3 +26,6 @@ $ mv bin /usr
$ mv *.cpp /usr/src
$ mv old.txt new.txt
+* [`cp`(1)](help://man/1/cp)
@@ -23,4 +23,5 @@ Display network connections
* `-W`, `--wide`: Do not truncate IP addresses by printing out the whole symbolic host
* `-e`, `--extend`: Display more information
+* [`ifconfig`(1)](help://man/1/ifconfig)
@@ -18,4 +18,5 @@ $ ntpquery [--adjust] [--set] [--verbose] [host]
* `host`: NTP server
+* [`date`(1)](help://man/1/date)
@@ -24,3 +24,7 @@ $ pgrep [--count] [-d delimiter] [--ignore-case] [--list-name] [--newest] [--old
## Arguments
* `process-name`: Process name to search for
+* [`pidof`(1)](help://man/1/pidof)
@@ -17,3 +17,7 @@ $ pidof [-s] [-o pid] [-S separator] <process-name>
+* [`pgrep`(1)](help://man/1/pgrep)
@@ -23,3 +23,6 @@ $ pkill [--count] [--ignore-case] [--echo] [--newest] [--oldest] [--older second
@@ -23,5 +23,5 @@ $ pmap $$
+* [`lsof`(1)](help://man/1/lsof)
* [`ps`(1)](help://man/1/ps)
@@ -42,3 +42,4 @@ $ profile -t syscall -- echo "Hello friends!"
* [`Profiler`(1)](help://man/1/Applications/Profiler) GUI for viewing profiling data produced by `profile`.
+* [`strace`(1)](help://man/1/strace)
@@ -27,3 +27,7 @@ For each process, print its PID (process ID), to which TTY it belongs, and invok
$ ps -ef
@@ -30,3 +30,6 @@ $ rm README.md
# Remove Tests directory
$ rm -r Tests
+* [`rmdir`(1)](help://man/1/rmdir) to just delete empty directories
@@ -40,3 +40,7 @@ example: No such file or directory
# Removes foo/bar/baz/, foo/bar/ and foo/
$ rmdir -p foo/bar/baz/
+* [`mkdir`(1)](help://man/1/mkdir)
+* [`rm`(1)](help://man/1/rm)
@@ -24,3 +24,7 @@ Trace all syscalls and their result.
* `argument`: Arguments to exec
+* [`Profiler`(1)](help://man/1/Applications/Profiler)
@@ -37,3 +37,6 @@ Switch to another user
$ su nona
+* [`pls`(8)](help://man/8/pls)
@@ -97,5 +97,5 @@ $ /bin/test \( 10 -gt 20 \) -o \( ! 10 -ne 10 \) && echo "magic numbers!"
## See Also
+* [`expr`(1)](help://man/1/expr)
* [`find`(1)](help://man/1/find)
@@ -51,6 +51,6 @@ $ touch -r anotherfile thatfile
+* [`mktemp`(1)](help://man/1/mktemp) to create a temporary file
* [`futimens`(2)](help://man/3/futimens)
* [`utimensat`(2)](help://man/3/utimensat)
@@ -18,4 +18,5 @@ $ tree [--all] [--only-directories] [--maximum-depth level] [directories...]
* `directories`: Directories to print
+* [`ls`(1)](help://man/1/ls) to show just the contents of one directory
@@ -27,3 +27,8 @@ Run `ps -ef` with restricted access to certain paths:
$ unveil --path=r,/etc/timezone --path=r,/usr/lib --path=r,/sys/ --path=r,/etc/passwd --path=r,/etc/group ps -ef
+* [`pledge`(2)](help://man/2/pledge)
+* [`unveil`(2)](help://man/2/unveil)
+* [`Mitigations`(7)](help://man/7/Mitigations)
@@ -37,3 +37,8 @@ $ unzip archive.zip "*.tx_"
Archive: archive.unzip
extracting: file1.txt
+* [`zip`(1)](help://man/1/zip)
@@ -19,4 +19,5 @@ $ utmpupdate [--create] [--delete] [--PID PID] [--from From] <tty>
* `tty`: TTY name
+* [`w`(1)](help://man/1/w)
@@ -15,3 +15,8 @@ $ w [--no-header] [user]
* `user`: Only show information about the specified user
+* [`whoami`(1)](help://man/1/whoami)
+* [`utmpupdate`(1)](help://man/1/utmpupdate)
@@ -39,3 +39,6 @@ t
t
t^C
@@ -28,3 +28,8 @@ Archive: archive.zip
adding: file1.txt
adding: file2.png
+* [`unzip`(1)](help://man/1/unzip)
@@ -96,5 +96,6 @@ unveil(nullptr, nullptr);
+* [`unveil`(1)](help://man/1/unveil)
* [`pledge`(2)](help://man/2/pledge)
* [`Mitigations`(7)](help://man/7/Mitigations)
@@ -50,6 +50,7 @@ Or right clicking on a folder in the TreeView and using
- [IconView](help://man/5/GML/Widget/IconView)
- [ImageWidget](help://man/5/GML/Widget/ImageWidget)
- [Label](help://man/5/GML/Widget/Label)
+ - [LinkLabel](help://man/5/GML/Widget/LinkLabel)
- [ListView](help://man/5/GML/Widget/ListView)
- [MultiView](help://man/5/GML/Widget/MultiView)
- [OpacitySlider](help://man/5/GML/Widget/OpacitySlider)
@@ -39,3 +39,6 @@ DHCP=true
[ep1s1]
Enabled=false
@@ -30,3 +30,7 @@ This program must be run as root.
# groupadd maintainers
+* [`useradd`(8)](help://man/8/useradd)
@@ -40,6 +40,6 @@ You should manually check all users to ensure that no user remain in this group.
-* [`useradd`(8)](help://man/8/groupadd)
+* [`userdel`(8)](help://man/8/userdel)
@@ -49,3 +49,4 @@ Additionally, the name `defaults` is accepted and ignored.
* [`mount`(2)](help://man/2/mount)
+* [`umount`(8)](help://man/8/umount)
@@ -35,3 +35,6 @@ Password:
root
#
+* [`su`(1)](help://man/1/su)
@@ -49,3 +49,6 @@ This program must be run as root.
# useradd --create-home supercomputer7
@@ -39,5 +39,5 @@ This program must be run as root.
* [`useradd`(8)](help://man/8/useradd)
@@ -33,4 +33,6 @@ This program must be run as root.
* `username`: Username of the account to modify