Template:Terminal
{{{text}}}
File:Farm-Fresh css add.svg | This template uses TemplateStyles: |
Important: this template has been stolen from tswiki:Template:Terminal.
Parameters
<templatedata> { "params": { "style": { "label": "style", "description": "CSS for the entire terminal box" }, "title": { "label": "title", "description": "Title of the terminal window", "default": "Terminal" }, "height": { "label": "height", "description": "maximum height of the terminal window (if there's more content that fits in that height, the extra content scrolls)", "example": "300px" }, "textstyle": { "label": "textstyle", "description": "CSS for just the text area (doesn't affect the title)" }, "text": { "label": "text", "description": "Contents of the terminal window" } }, "description": "Generates a box (with black background and white text, by default) simulating the appearance of a terminal window." } </templatedata>
Examples
- login
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: Sun Nov 13 2:20:40 2022 from loop-10-165-250-71.tbeakm.aret.rastryn .net Your account will expire on Monday, 17 February 2025. dispenser@nightshade:~$ █
- Sample sql queries
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(*) |
+----------+
| 1 |
+----------+
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 | 144 | 0 | 72
| 1 | 496 | 2 |
+-----------+----------------+----------------+------------------+--------------
-+----------+-----------+-----------+
1 row in set (0.00 sec)
mysql> quit
Bye
dispenser@nightshade:~$ █