Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

aardvark(6) [bsd man page]

AARDVARK(6)							   Games Manual 						       AARDVARK(6)

aardvark - yet another exploration game SYNOPSIS
/usr/games/aardvark DESCRIPTION
Aardvark is yet another computer fantasy simulation game of the adventure/zork genre. This one is written in DDL (Dungeon Definition Lan- guage) and is intended primarily as an example of how to write a dungeon in DDL. FILES
/usr/games/lib/ddlrun ddl interpreter /usr/games/lib/aardvarkinternal form of aardvark dungeon AUTHOR
Mike Urban, UCLA 4th Berkeley Distribution May 20, 1985 AARDVARK(6)

Check Out this Related Man Page

DM(8)							    BSD System Manager's Manual 						     DM(8)

dm -- dungeon master SYNOPSIS
ln -s dm game DESCRIPTION
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. FILES
/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. SECURITY CONSIDERATIONS
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
Man Page

13 More Discussions You Might Find Interesting

1. Programming

Determining file access perms for current process

Stupid question, but is there an ANSI C stdlib function that will do this for me? I want to pass the function a path and determine if the current process can read/write/execute on the path. I suppose I can whip something up using fstat and then determining the current process's user/group IDs and... (6 Replies)
Discussion started by: DreamWarrior
6 Replies

2. Shell Programming and Scripting

Using C-Shell Scripting for Substitution

mv myFile.txt myFile.txt.bak sed s/foo/bar/g myFile.txt.bak > myFile.txt Turn the two-line version, above, of the substitution commands into a shell script, subst1 taking three parameters: the string to be replaced the string with which to replace it the name of the file in which to make the... (1 Reply)
Discussion started by: RogerW
1 Replies

3. Shell Programming and Scripting

Help with word substitution

Hi all, I am trying to write a script substituting one word in a particular file with another word (sed) but I'm having trouble creating the backup file. The following are my instructions: The Unix program sed is useful for making simple substitutions throughout an entire file. But one of... (0 Replies)
Discussion started by: Hoppy56
0 Replies

4. UNIX for Dummies Questions & Answers

Unexpected Behaviour from grepping Text File

Hi! I recently downloaded a wordlist file called 2of12.txt, which is a wordlist of common words, part of the 12dicts package. I've been getting unexpected results from grepping it, such as getting no matches when clearly there ought to be, or returns that are simply wrong. Par exemple: egrep... (4 Replies)
Discussion started by: sudon't
4 Replies

5. Homework & Coursework Questions

Help with Shell Scripts Using sed in multiple files.

Hi, I was hoping that someone could help me. I have a problem that i am trying to work on and it requires me to change text within multiple files using sed. What i have so far is !/bin/sh File1="$3" File2="$4" File3="$5" testNum="$File1" while test "$testNum" <= "$File3"; do echo... (12 Replies)
Discussion started by: Johnny2518
12 Replies

6. Shell Programming and Scripting

Generalising UNIX file path

There's a Unix configuration file that needs to be executed at the start of my script The location of the file is /Dstage/AA_INTERFACES/SYSTEM_FILES/MISC/ Now the script has to be deployed into a new UAT server for testing where the location above has been change to... (3 Replies)
Discussion started by: kumarjt
3 Replies

7. UNIX for Dummies Questions & Answers

Grep words with X doubles only

Hi! I'm trying to figure out how to find words with X number of doubles, only. I'm searching a dictionary, (one word per line). For instance, if you want to find words containing only one pair of double letters, you could do something like this: egrep '(.)\1' wordlist.txt |egrep -v '(.)\1.*(.)\2'... (3 Replies)
Discussion started by: sudon't
3 Replies

8. Homework & Coursework Questions

Shell Script to sed with Multiple Files

I am not sure what I am doing wrong here. The code should work fine. I have been making small changes insuring that each new bit works. Now running my sed through multiple files I am getting incorrect output. Any help and instruction would be greatly appreciated. The problem - Generalize... (10 Replies)
Discussion started by: Lycopene
10 Replies

9. UNIX for Dummies Questions & Answers

[Solved] Having trouble with simple grep search

I have a text file (allWords.txt), that I would like to search through. Here is a snippet of what it looks like... a aah aahed aahing aahs aardvark aardvarks aardwolf ab abaci aback abacus abacuses abaft ...... I would like to use the grep search to search, line by line, for... (8 Replies)
Discussion started by: blackvelvet
8 Replies

10. UNIX for Dummies Questions & Answers

Grep search for count of letters beginning with a certain letter

Say I have a text file (allWords.txt), that contains all the words in the dictionary, line by line, that I would like to search through. Here is a snippet of what it might looks like... Code: a aah aahed aahing aahs aardvark aardvarks aardwolf ab abaci aback abacus abacuses abaft ...... I... (1 Reply)
Discussion started by: blackvelvet
1 Replies

11. Homework & Coursework Questions

Script performs the right task but fails against check

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a script that takes an arbitrary number of file paths from the command line and carries ... (5 Replies)
Discussion started by: Ezraek
5 Replies

12. Homework & Coursework Questions

Convert ASCII Text, with CRLF

1. The problem statement, all variables and given/known data: write a script that takes an arbitrary number of file paths from the command line and carries out the same analysis on each one. If a file is not Windows ASCII, your script should do nothing to it. For each file that is... (7 Replies)
Discussion started by: kwatt019
7 Replies

13. Shell Programming and Scripting

Backup Script

I don't know how to repair this script :/ My OS: Ubuntu Server 18.04 "Bionic Beaver" LTS (64bits) #!/bin/bash # ### Ustawienia - sciezki do plików ### DIRS="/home/ts/ /home/mc/" BACKUP=/home/backup.$$ NOW=$(date +"%d-%m-%Y") DELDATE=$(date -d "-7 days" +"%d-%m-%Y") DAY=$(date +"%a") #... (4 Replies)
Discussion started by: xCraftRayX
4 Replies