Alan's ENCOM terminal · Command reference
TRON terminal commands
$ service start tron
Commands
Tron won't start: the address file is empty. Find it.
Dillinger has suspended all Group 7 access, which Alan's screen in the film calls priority access 7. Alan is in Group 7. The terminal is on screen only briefly, so most of this fills it out as a Unix of the "future". Poking at what the MCP guards makes it suspicious, and it may log you out. You keep what you've done. Tab completes commands and paths, the ones Alan can see. Select a command to open the terminal and run it there.
| Command | What happens |
|---|---|
| service start [service] service stop [service] |
Starts or stops a service: |
| mail mail [number] |
Reads Alan's mail. At the |
| date |
The date and time on Alan's terminal at the start of TRON, in ENCOM's Pacific time, written the way his screen writes it. The clock keeps running, so each run gives a different time. |
| ls [-a] [-l] [path] |
Lists a directory. |
| cd [path] |
Changes directory. |
| pwd |
Prints the current directory's path. |
| cat [file] |
Prints a file. |
| head [-n] [file] tail [-n] [file] wc [-lwc] [file] grep [-c] [-i] [-n] [-v] [pattern] [file] sort [-r] [-n] [-f] [file] uniq [-c] [file] |
The first or last lines of a file, its counts, the lines that match, the lines in order, and repeated lines once. Without a file, each reads from a pipe: ls -l | grep group7, who | wc -l, strings /tmp/core | wc. The shell expands |
| command > file command >> file command < file command 2> file |
Output into a file (emptying it first), onto the end of one, input from one, and errors into one ( |
| file [file] strings [file] what [file] |
What a file holds, the text inside a binary, and its SCCS version strings: who wrote each part, and when. Some files the MCP won't let you read. |
| chmod [mode] [file] touch [file] mkdir [dir] rmdir [dir] |
Changes a file's mode (in octal, like |
| cp [from] [to] mv [from] [to] rm [file] |
Copies, moves, or removes files, where Alan's permissions allow. |
| who query [user] |
Who's logged in. |
| last last [user] |
Who's logged in over the last few days, and from where. Someone keeps dialing in at night. |
| id groups newgrp [group] su [user] |
Alan's user and groups, or anyone's ( |
| talk [user] |
Talks to someone who's logged in, if they'll answer. |
| whoami ps ps aux kill [-9] [pid] |
Who you are, what's running ( |
| request [...] |
Asks the MCP for something, the way Alan does in the film: |
| uptime uname -a hostname cal [[month] year] |
About the system, and a calendar (this month, or a year). Try September 1752. |
| echo $HOME env history |
The shell's variables, and what you've typed (kept across visits). |
| space_paranoids matrix_blaster |
The games in |
| help man [command] |
Lists every command: ENCOM's own, the system's, the shell's, and the games. |
| exit logout |
Logs Alan out, and back in. Files stay as they are. |
| clear |
Clears the screen. |
Walkthrough
Spoilers, for if you're stuck.
Show the walkthrough
- Read your mail: mail, then 3. Lora's been running a copy of TRON in the laser lab.
- ls /lab/laser is denied, and ls -l /lab shows why: you can't list the lab directory, but you can read a file in it if you know the name.
- query lora, talk lora, or ps aux names today's log: cat /lab/laser/log.0922. (Today is date: SEPT 22.)
- The log says she saved it as addr.bak: cp /lab/laser/addr.bak tron.addr
- service start tron
Off the path: cat /usr/adm/messages shows who's been dialing in and what the MCP did about it, and strings /tmp/core shows what CLU was looking for.
There's a second ending for anyone who remembers what Flynn types at the terminal in the lab.