public:launch_a_read-only_web_server_display_some_sort_of_shell_output
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:launch_a_read-only_web_server_display_some_sort_of_shell_output [2016/07/31 13:37] – fangfufu | public:launch_a_read-only_web_server_display_some_sort_of_shell_output [2018/03/31 00:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Launch a read-only web server displaying some sort of shell output ====== | ||
+ | You need to do it in a part: | ||
+ | The script below will launch a shell output recording session. | ||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | echo /tmp/$STY | ||
+ | touch /tmp/$STY | ||
+ | chmod 0600 /tmp/$STY | ||
+ | script -a -f /tmp/$STY | ||
+ | rm /tmp/$STY | ||
+ | </ | ||
+ | |||
+ | Then you need to run the following: | ||
+ | |||
+ | <code bash> | ||
+ | shellinaboxd -t -s /: | ||
+ | </ | ||
+ | You can put it in a script, as '' | ||
public/launch_a_read-only_web_server_display_some_sort_of_shell_output.txt · Last modified: 2018/03/31 00:38 by 127.0.0.1