TTT(6) Games Manual TTT(6)NAME
ttt - tic-tac-toe
Ttt is the X and O game popular in the first grade. This is a learning program that never makes the same mistake twice.
Although it learns, it learns slowly. It must lose nearly 80 games to completely know the game.
/usr/games/ttt.k learning file
Check Out this Related Man Page
DM(8) BSD System Manager's Manual DM(8)NAME
dm -- dungeon master
ln -s dm game
dm is a program used to regulate game playing. dm expects to be invoked with the name of a game that a user wishes to play. This is done by
creating symbolic links to dm, in the directory /usr/games for all of the regulated games. The actual binaries for these games should be
placed in a ``hidden'' directory, /usr/games/hide, that may only be accessed by the dm program. dm determines if the requested game is
available and, if so, runs it. The file /etc/dm.conf controls the conditions under which games may be run.
The file /etc/nogames may be used to ``turn off'' game playing. If the file exists, no game playing is allowed; the contents of the file
will be displayed to any user requesting a game.
/etc/dm.conf configuration file
/etc/nogames turns off game playing
/usr/games/hide directory of ``real'' binaries
/var/log/games.log game logging file
SEE ALSO dm.conf(5)HISTORY
The dm command appeared in 4.3BSD-Tahoe.
Two issues result from dm running the games setgid ``games''. First, all games that allow users to run UNIX commands should carefully set
both the real and effective group ids immediately before executing those commands. Probably more important is that dm never be setgid any-
thing but ``games'' so that compromising a game will result only in the user's ability to play games at will. Secondly, games which previ-
ously had no reason to run setgid and which accessed user files may have to be modified.
BSD May 31, 1993 BSD
I have a problem of getting multiple LogWatch mails from my box. I have a cron setup to send me (and some other users) Logwatch report mail form our server. I end up getting multiple mails from all the boxes (other users have not complained of this). I cannot figure out why. I... (0 Replies)
Hi all, can someone tell me the easiest was to get disk info from a console.
I manage headless servers, and would like to collect the specs on hard drives installed without looking it up through Sun.
The boot messages only tell me the size/name e.g. 'Sun36G'
I want to know the rotation... (1 Reply)
In unix we can get profile on a c program like this ::
cc -g -p -o cpp_sw_gsmconverter_shailesh5 cpp_sw_gsmconverter_shailesh5.c
In the same manner how can I collect statistics in linux using gcc command.
Thanks in advance. (1 Reply)
hello=value some text
hello=string diff text
In the above given text in a file I want to replace hello=<something> with hello=hi,Like the one given below
hello=hi some text
hello=hi diff text
I am finding hard to get a solution since the hello=<something> can carry any pattern... (2 Replies)
I have data as follows, I wantto add a character to the word ending with “,”. Could you please help me how can we do this ?
Please view this code tag video for how to use code tags when posting code and data. (1 Reply)
Trying to ftp to a remote ftp server.
See following output:
ftp -dv xx.xx.xx.xx
Connected to xx.xx.xx.xx (xx.xx.xx.xx).
220 Microsoft FTP Service
Name (xx.xx.xx.xx:username): ftpuser
---> USER ftpuser
331 Password required for ftpuser.
---> PASS XXXX
230 User logged... (1 Reply)
getting error as below while executing script in linux.
Linux VGP-3GPSDB-LX 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
./imxtract.sh: line 395: unexpected EOF while looking for matching ``'
./imxtract.sh: line 402: syntax error:... (1 Reply)
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)