Template:Terminal/doc

From Bonkipedia

Important: this template has been stolen from tswiki:Template:Terminal.

Parameters

title
text
command
icon

Examples

login
Terminal
login as: dispenser
Authenticating with public key "rsa-key-20080514"
Passphrase for key "rsa-key-20080514":
Did you know...

   ... that if you don't read the rules, you will be haunted by the ghost
       of Noel Edmunds until the day you die?

       http://meta.wikimedia.org/wiki/Toolserver/Rules

   ... that our trained monkeys have written lots of helpful but confusingly
       organised documentation for users?

       http://meta.wikimedia.org/wiki/Toolserver/For_users (or type "faq")

   ... that we also have a server that doesn't crash every other day and
       run like a snail who overdosed on sleeping pills?

       http://meta.wikimedia.org/wiki/Toolserver/Stable_server

   ... that making your home world-writeable is a BAD idea?

Last login: Sat Nov 12 18:02:58 2022  from loop-10-165-250-71.tbeakm.aret.rastryn
.net
Your account will expire on Wednesday, 15 January 2025.
dispenser@nightshade:~$ <span style="text-decoration: blink;color:lime;">█</span>
Sample sql queries
Terminal
dispenser@nightshade:~$ sql enwiki_p
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5926554
Server version: 5.0.64 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> DESCRIBE
    -> user_groups;
+----------+-----------------+------+-----+---------+-------+
| Field    | Type            | Null | Key | Default | Extra |
+----------+-----------------+------+-----+---------+-------+
| ug_user  | int(5) unsigned | NO   |     | 0       |       |
| ug_group | char(16)        | NO   |     |         |       |
+----------+-----------------+------+-----+---------+-------+
2 rows in set (0.00 sec)

mysql> SELECT count(*) FROM user_groups WHERE ug_group="sysop";
+----------+
| count(*) |
+----------+
|        6 |
+----------+
1 row in set (0.03 sec)

mysql> SELECT * from site_stats;
+-----------+----------------+----------------+------------------+--------------
-+----------+-----------+-----------+
| ss_row_id | ss_total_views | ss_total_edits | ss_good_articles | ss_total_page
 | ss_users | ss_admins | ss_images |
+-----------+----------------+----------------+------------------+--------------
-+----------+-----------+-----------+
|         1 |       63208805 |      6061 |          12 |      4397
 |  108 |       496 |    1051 |
+-----------+----------------+----------------+------------------+--------------
-+----------+-----------+-----------+
1 row in set (0.00 sec)

mysql> quit
Bye
dispenser@nightshade:~$ <span style="text-decoration: blink;color:lime;">█</span>