aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r--src/man/firejail.txt61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 56a768614..a53d2d14e 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -8,6 +8,12 @@ Start a sandbox:
8firejail [OPTIONS] [program and arguments] 8firejail [OPTIONS] [program and arguments]
9.RE 9.RE
10.PP 10.PP
11File transfer from an existing sandbox
12.PP
13.RS
14firejail {\-\-ls | \-\-get} dir_or_filename
15.RE
16.PP
11Network traffic shaping for an existing sandbox: 17Network traffic shaping for an existing sandbox:
12.PP 18.PP
13.RS 19.RS
@@ -392,6 +398,9 @@ $ firejail \-\-list
392.br 398.br
393$ firejail \-\-fs.print=3272 399$ firejail \-\-fs.print=3272
394 400
401.TP
402\fB\-\-get=name|pid filename
403Get a file from sandbox container, see \fBFILE TRANSFER\fR section for more details.
395 404
396.TP 405.TP
397\fB\-?\fR, \fB\-\-help\fR 406\fB\-?\fR, \fB\-\-help\fR
@@ -549,7 +558,11 @@ Security filters, cgroups and cpus configurations are not applied to the process
549 558
550 559
551 560
561.TP
562\fB\-\-ls=name|pid dir_or_filename
563List files in sandbox container, see \fBFILE TRANSFER\fR section for more details.
552 564
565\fB
553 566
554.TP 567.TP
555\fB\-\-list 568\fB\-\-list
@@ -1521,6 +1534,54 @@ Example:
1521.br 1534.br
1522$ firejail \-\-zsh 1535$ firejail \-\-zsh
1523 1536
1537.SH FILE TRANSFER
1538These features allow the user to inspect the file system container of an existing sandbox
1539and transfer files from the container to the host file system.
1540
1541.TP
1542\fB\-\-get=name filename
1543Retrieve the container file filename and store it on the host in the current working directory.
1544The container is spececified by name (\-\-name option). Full path is needed for filename.
1545
1546.TP
1547\fB\-\-get=pid filename
1548Retrieve the container file filename and store it on the host in the current working directory.
1549The container is spececified by process ID. Full path is needed for filename.
1550
1551.TP
1552\fB\-\-ls=name dir_or_filename
1553List container files.
1554The container is spececified by name (\-\-name option).
1555Full path is needed for dir_or_filename.
1556
1557.TP
1558\fB\-\-ls=pid dir_or_filename
1559List container files.
1560The container is spececified by process ID.
1561Full path is needed for dir_or_filename.
1562
1563.TP
1564Examples:
1565.br
1566
1567.br
1568$ firejail \-\-ls=mybrowser ~/Downloads
1569.br
1570drwxr-xr-x netblue netblue 4096 .
1571.br
1572drwxr-xr-x netblue netblue 4096 ..
1573.br
1574-rw-r--r-- netblue netblue 7847 x11-x305.png
1575.br
1576-rw-r--r-- netblue netblue 6800 x11-x642.png
1577.br
1578-rw-r--r-- netblue netblue 34139 xpra-clipboard.png
1579.br
1580
1581.br
1582$ firejail \-\-get=mybrowser ~/Downloads/xpra-clipboard.png
1583
1584
1524.SH TRAFFIC SHAPING 1585.SH TRAFFIC SHAPING
1525Network bandwidth is an expensive resource shared among all sandboxes running on a system. 1586Network bandwidth is an expensive resource shared among all sandboxes running on a system.
1526Traffic shaping allows the user to increase network performance by controlling 1587Traffic shaping allows the user to increase network performance by controlling