Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: man: fix wrong escapes #6474

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/man/firejail-profile.5.in
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ host filesystem. Each line describes a file/directory that is inaccessible
a tmpfs mounted on top of an existing directory (\fBtmpfs\fR),
or mount-bind a directory or file on top of another directory or file (\fBbind\fR).
Use \fBprivate\fR to set private mode. File globbing is supported, and PATH and
HOME directories are searched, see the \fBfirejail\f(1) \fBFILE GLOBBING\fR section
HOME directories are searched, see the \fBfirejail\fR(1) \fBFILE GLOBBING\fR section
for more details.
Examples:
.TP
Expand Down
24 changes: 12 additions & 12 deletions src/man/firejail.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ $ firejail \-\-ignore="net eth0" firefox
#endif

.TP
\fB\-\-\include=file.profile
\fB\-\-include=file.profile
Include a profile file before the regular profiles are used.
.br

Expand Down Expand Up @@ -1018,7 +1018,7 @@ in case you intend to start an external DHCP client in the sandbox.
.br
Example:
.br
$ firejail \-\-net=eth0 \-\-\ip=none
$ firejail \-\-net=eth0 \-\-ip=none
.br

.br
Expand Down Expand Up @@ -1070,7 +1070,7 @@ default gateway is assigned by default.
.br
Example:
.br
$ firejail \-\-net=eth0 \-\-\iprange=192.168.1.100,192.168.1.150
$ firejail \-\-net=eth0 \-\-iprange=192.168.1.100,192.168.1.150

.TP
\fB\-\-ipc-namespace
Expand Down Expand Up @@ -3453,37 +3453,37 @@ $ firejail --tree
1221:netblue:/usr/lib/firefox/firefox
.RE

We provide a tool that automates all this integration, please see \&\flfirecfg\fR\|(1) for more details.
We provide a tool that automates all this integration, please see \fBfirecfg\fR(1) for more details.

.SH EXAMPLES
.TP
\f\firejail
\fBfirejail
Sandbox a regular shell session.
.TP
\f\firejail firefox
\fBfirejail firefox
Start Mozilla Firefox.
.TP
\f\firejail \-\-debug firefox
\fBfirejail \-\-debug firefox
Debug Firefox sandbox.
.TP
\f\firejail \-\-private firefox
\fBfirejail \-\-private firefox
Start Firefox with a new, empty home directory.
.TP
\f\firejail --net=none vlc
\fBfirejail --net=none vlc
Start VLC in an unconnected network namespace.
#ifdef HAVE_NETWORK
.TP
\f\firejail \-\-net=eth0 firefox
\fBfirejail \-\-net=eth0 firefox
Start Firefox in a new network namespace. An IP address is
assigned automatically.
.TP
\f\firejail \-\-net=br0 \-\-ip=10.10.20.5 \-\-net=br1 \-\-net=br2
\fBfirejail \-\-net=br0 \-\-ip=10.10.20.5 \-\-net=br1 \-\-net=br2
Start a shell session in a new network namespace and connect it
to br0, br1, and br2 host bridge devices. IP addresses are assigned
automatically for the interfaces connected to br1 and b2
#endif
.TP
\f\firejail \-\-list
\fBfirejail \-\-list
List all sandboxed processes.

.SH FILE GLOBBING
Expand Down