Slashdot Mirror


Learn How UNIX Multitasks

BlueVoodoo writes "On UNIX systems, each system and end-user task is contained within a process. Learn how to control processes and use a number of commands to peer into your system."

2 of 160 comments (clear)

  1. Re:Woop-tee-doo. by Anonymous Coward · · Score: 1, Informative

    You should have said NSFW. It really doesn't matter for me but if someone at work has a IT dude with nothing better to do looking at log files for the heck of it that person could get into trouble ;-). Course if hes reading slashdot he or she is already in trouble already lol

  2. Re:exciting by cortana · · Score: 3, Informative

    Bear in mind that the various devices may do different things on different operating systems.

    On Linux, /dev/tty refers to the controlling terminal of the process that opened it. Therefore there is no reason to restrict its permissions... in fact to do so would prevent processes from writing to the terminal (if they wanted to do so directly to read a password, for instance, rather than relying on reading from stdin). /dev/tty[0-9]+ are the actual virtual consoles that one logs in on. They are owned by root:root until someone logs in on one whereupon they become owned by $user:tty. /dev/pts/[0-9]+ are pseudo terminals that are created by a terminal emulator such as xterm, or a remote login server such as ssh. They are also owned by $user:tty