More TRON legacy goodness. UNIX commands and how they got it right.

Posted: May 19, 2012. At: 3:26 PM. This was 6 years ago. Post ID: 3859
Page permalink: http://securitronlinux.com/bejiitaswrath/more-tron-legacy-goodness-unix-commands-and-how-they-got-it-right/

Now, we must convince Congress to stop the FCC. Can you display an alert?
TRON Legacy UNIX login. They got this right!
TRON Legacy UNIX login. They got this right!

Flynn using the UNIX machine in the TRON legacy movie. He is logging in with a user that does not have a home directory defined so the / folder is used instead. This is what happens with a Linux system as well. The second screen-shot shows the /bin/history command being used to view the command history on the UNIX system. The last user was compiling and installing software from a tarball, apparently to upgrade the software or add to the grid. I am typing this on a PC-BSD UNIX system and that does not have the history command under /bin. This is what I get when I request the location of the history command on this system. At least the movie was using a realistic depiction of how a UNIX system actually works instead of showing those stupid CSI computer interfaces that TV and other movies love to use. I wrote about the TRON Legacy movie in this posting and I think it is an awesome piece of film-making with an absolutely killer soundtrack by Daft Punk.

TV shows like CSI::Cyber and other trash always get things wrong on purpose, they show stupid computer commands and ridiculous things. The movie Under Siege 2 had a guy on a train that was able to crack a complex encryption scheme because he had 2 gigabytes of RAM and using 2 keyboards at once.

pcbsd# which history
history: shell built-in command.

The ps -ef command works the same on PC-BSD as it does in the movie. I had to mount the procfs file-system by adding this line to the /etc/fstab file.

procfs /proc procfs rw 0 0

Then type mount procfs and the ps command will work properly. There is some information about the procfs file-system here: http://www.unix.com/man-page/FreeBSD/5/procfs/. Some of the files under the /proc directory are writable and this allows you to control the functioning of your UNIX or Linux system simply and easily.

[root@pcbsd /]# ps -ef | grep tty
 2284  v1  Is+   0:00.00 TERM=cons25 /usr/libexec/getty Pc ttyv1
 2285  v2  Is+   0:00.00 TERM=cons25 /usr/libexec/getty Pc ttyv2
 2286  v3  Is+   0:00.00 TERM=cons25 /usr/libexec/getty Pc ttyv3
 2287  v4  Is+   0:00.00 TERM=cons25 /usr/libexec/getty Pc ttyv4
 2288  v5  Is+   0:00.00 TERM=cons25 /usr/libexec/getty Pc ttyv5
TRON Legacy screen-shot. Using the history command.
TRON Legacy screenshot. Using the history command.

This is my third posting about this film, but any movie that actually shows a UNIX computer realistically is one that is worth watching. The touch screen computer that Flynn was using in the start of the film is pretty cool, the touch screen looks pretty advanced for a machine that was gathering dust in an old games arcade. But it was not a bad workstation though.

No comments have been made. Use this form to start the conversation :)

Leave a Reply