To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
Shell: Difference between revisions
Jump to navigation
Jump to search
DarthGandalf (talk | contribs) Created page with "{{DISPLAYTITLE:shell}} {{Extra Module}} This module will allow you to type commands into a query as if it were a terminal. The one obvious drawback to a real terminal is that ..." |
>Silverleo DCC stuff was moved to dcc |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:shell}} | {{DISPLAYTITLE:shell}} | ||
{{ | {{Core Module | version = 1.0}} | ||
This module will allow you to type commands into a query as if it were a terminal. The one obvious drawback to a real terminal is that you can not use interactive programs like vi, pine or su. | This module will allow you to type commands into a query as if it were a terminal. The one obvious drawback to a real terminal is that you can not use interactive programs like vi, pine or su. | ||
== Usage == | == Usage == | ||
Line 30: | Line 28: | ||
<*shell> -rw-r--r-- 1 prozac users 6 Oct 8 14:30 znc.pid | <*shell> -rw-r--r-- 1 prozac users 6 Oct 8 14:30 znc.pid | ||
<*shell> znc$ | <*shell> znc$ | ||
[[Category:Modules]] | [[Category:Modules]] |
Latest revision as of 08:31, 25 March 2013
This module is a part of ZNC. This module is shipped with ZNC by default. If you have the right "LoadMod" you can activate it with /znc LoadMod shell The code for this module can be found here. This module is part of ZNC since Version 1.0 |
This module will allow you to type commands into a query as if it were a terminal. The one obvious drawback to a real terminal is that you can not use interactive programs like vi, pine or su.
Usage
Arguments
This user module takes no arguments.
Read loading modules to learn more about loading modules.
Commands
To execute commands you have to open a query with the *shell
user. When executing commands the result should be like this:
<prozac> pwd <*shell> /home/prozac <*shell> znc$ <prozac> cd .znc <*shell> znc$ <prozac> pwd <*shell> /home/prozac/.znc <*shell> znc$ <prozac> ls -al <*shell> total 36 <*shell> drwx------ 6 prozac users 4096 Oct 9 16:17 . <*shell> drwxr-xr-x 51 prozac users 4096 Oct 9 16:17 .. <*shell> drwx------ 3 prozac users 4096 Oct 9 16:17 configs <*shell> drwx------ 12 prozac users 4096 Sep 24 17:16 moddata <*shell> drwx------ 2 prozac users 4096 Oct 8 14:27 modules <*shell> drwx------ 10 prozac users 4096 Oct 8 10:04 users <*shell> -rw-r--r-- 1 prozac users 1644 Oct 8 23:57 znc.pem <*shell> -rw-r--r-- 1 prozac users 6 Oct 8 14:30 znc.pid <*shell> znc$