From f473c959d2549ec0799bc6a7b7609c10b7f7e758 Mon Sep 17 00:00:00 2001 From: smitsohu Date: Wed, 19 Aug 2020 00:55:47 +0200 Subject: cat option --- src/man/firejail.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src/man') diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 69cd4a7bc..f5f092bd9 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -272,6 +272,10 @@ $ firejail \-\-list .br $ firejail \-\-caps.print=3272 +.TP +\fB\-\-cat=name|pid filename +Print content of file from sandbox container, see FILE TRANSFER section for more details. + .TP \fB\-\-cgroup=tasks-file Place the sandbox in the specified control group. tasks-file is the full path of cgroup tasks file. @@ -344,7 +348,7 @@ $ firejail --dbus-system=filter --dbus-system.log --dbus-log=dbus.txt .TP \fB\-\-dbus-system=filter|none -Set system DBus sandboxing policy. +Set system DBus sandboxing policy. .br .br @@ -3028,6 +3032,10 @@ $ firejail --read-only=~/dir[1-4] These features allow the user to inspect the filesystem container of an existing sandbox and transfer files between the container and the host filesystem. +.TP +\fB\-\-cat=name|pid filename +Write content of a container file to standard out. + .TP \fB\-\-get=name|pid filename Retrieve the container file and store it on the host in the current working directory. @@ -3072,6 +3080,10 @@ $ firejail \-\-get=mybrowser ~/Downloads/xpra-clipboard.png $ firejail \-\-put=mybrowser xpra-clipboard.png ~/Downloads/xpra-clipboard.png .br +.br +$ firejail \-\-cat=mybrowser ~/.bashrc +.br + .SH MONITORING Option \-\-list prints a list of all sandboxes. The format for each process entry is as follows: @@ -3259,7 +3271,7 @@ Homepage: https://firejail.wordpress.com \&\flfirejail-profile\fR\|(5), \&\flfirejail-login\fR\|(5), \&\flfirejail-users\fR\|(5), -.UR https://github.com/netblue30/firejail/wiki +.UR https://github.com/netblue30/firejail/wiki .UE , -.UR https://github.com/netblue30/firejail +.UR https://github.com/netblue30/firejail .UE -- cgit v1.2.3-70-g09d2