## Linux and UNIX Man Pages

Test Your Knowledge in Computers #283
Difficulty: Easy
Early computers were built to perform a series of single tasks, like a calculator.
True or False?

# fish(6) [bsd man page]

```FISH(6) 							   Games Manual 							   FISH(6)

NAME
fish - play ``Go Fish''

SYNOPSIS
/usr/games/fish

DESCRIPTION
Fish  plays  the  game of "Go Fish", a childrens' card game.  The Object is to accumulate `books' of 4 cards with the same face value.  The
players alternate turns; each turn begins with one player selecting a card from his hand, and asking the other player for all cards of that
face  value.   If  the  other player has one or more cards of that face value in his hand, he gives them to the first player, and the first
player makes another request.  Eventually, the first player asks for a card which is not in the second player's hand: he replies `GO FISH!'
The  first  player  then draws a card from the `pool' of undealt cards.	If this is the card he had last requested, he draws again.  When a
book is made, either through drawing or requesting, the cards are laid down and no further action takes place with that face value.

To play the computer, simply make guesses by typing a, 2, 3, 4, 5, 6, 7, 8, 9, 10, j, q, or k when asked.  Hitting return gives you  infor-
mation  about  the  size of my hand and the pool, and tells you about my books.	Saying `p' as a first guess puts you into `pro' level; The
default is pretty dumb.

4th Berkeley Distribution					   May 20, 1985 							   FISH(6)```

## Check Out this Related Man Page

```BJ(6)								   Games Manual 							     BJ(6)

NAME
bj - the game of black jack

SYNOPSIS
/usr/games/bj

DESCRIPTION
Bj  is a serious attempt at simulating the dealer in the game of black jack (or twenty-one) as might be found in Reno.  The following rules
apply:

The bet is \$2 every hand.

A player `natural' (black jack) pays \$3.  A dealer natural loses \$2.  Both dealer and player naturals is a `push' (no money exchange).

If the dealer has an ace up, the player is allowed to make an `insurance' bet against the chance of a dealer natural.  If this bet	is
not  taken,  play  resumes	as normal.  If the bet is taken, it is a side bet where the player wins \$2 if the dealer has a natural and
loses \$1 if the dealer does not.

If the player is dealt two cards of the same value, he is allowed to `double'.  He is allowed to play two  hands,  each  with  one	of
these cards.  (The bet is doubled also; \$2 on each hand.)

If	a dealt hand has a total of ten or eleven, the player may `double down'.  He may double the bet (\$2 to \$4) and receive exactly one
more card on that hand.

Under normal play, the player may `hit' (draw a card) as long as his total is not over twenty-one.	If the player `busts'  (goes  over
twenty-one), the dealer wins the bet.

When  the  player  `stands' (decides not to hit), the dealer hits until he attains a total of seventeen or more.  If the dealer busts,
the player wins the bet.

If both player and dealer stand, the one with the largest total wins.  A tie is a push.

The machine deals and keeps score.  The following questions will be asked at appropriate times.	Each question is answered by y followed by
a new line for `yes', or just new line for `no'.

?	 (means, `do you want a hit?')
Insurance?
Double down?

Every time the deck is shuffled, the dealer so states and the `action' (total bet) and `standing' (total won or lost) is printed.  To exit,
hit the interrupt key (DEL) and the action and standing will be printed.

BJ(6)```

## Help with expect

Help I am trying to do a script #start expect -F - <<EOF spawn scp -c blowfish -C user@host:pathtofile destination expect 'word': send 'password\r' while {1}{expect eof{break}} wait eof #end whats wrong with this its not working? and whats a good way to have it copy multiple files?

## Sawfish

Does anyone know what the Configurations Command is for Sawfish. My Gnome/Sawfish session has broken down so I have to add it by my own in gnomecc.. Any ideas?:confused: :o To bed I go (soon) :rolleyes: I found it, it's "sawfish-ui" Incase of someone else has the same problem I leave...

## samba questions (password conversion to blowfish and is it wise to sync the useraccou

i stumbled upon something that gave some nice instructions on how to convert FreeBSD passwords from md5 to blowfish. it was simple and straight forward and it worked. i'm running samba on the machine. now i know the tutorial i was following had something where a user's samba and machine...

## Fishing out error message within a log file

Hi all, i have a log file that captures success or failure messges when i run a daily job. here is a sample of my log. 20060312 start successful successful failure failure 20060312 end i need to write a subroutine that opens up the log daily after my job completes to examine the log...

## Invalid Argument and glassfish

I tried to install glassfish on Solaris 10 and it worked fine on other instances. I got the below message bash-3.00# ./sjsas-9_1_01-solaris-sparc.bin -console bash: ./sjsas-9_1_01-solaris-sparc.bin: Invalid argument I logged on as root and the file has execute permission. So strange. Do...

## Bluefish: where are the preferences saved?

I have just tried out Bluefish as an alternative to my regular text editor. If I save the modified preferences and reboot, the preferences have to be reentered again. Does anyone know which file the preferences are saved in? The command find / -mmin -5 | grep bluefish yields zero hits. Thanks...

## Encript Timestamp with blowfish

Good afternoon to you all I need help I need a script that will allow to encrypt the system´s timestamp; I have to use a pre-shared key to cipher the timestamp, so basically I need: 1st) cipher with a pre-shared key 2nd) encrypt the timestamp 3rd) encode on a base64 the output...

## Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1 a. Debian Squeeze (HP DL360). Need to use java version6 On Debian, I did apt-get install sun-java6-jdk. So when I check it's java version "1.6.0_22" Java(TM) SE...

## swordfish --- a password generator

Here is my new password generation script. The attachment, swordfish.txt, is in dos format. Remember that you need to use dos2unix or flip or something to get it into unix format. The script is self documenting. It has an extensive help system built-in. And you can run: swordfish "set...

## fish out lines according to line number

Dear all, I've a situation here, I have a big file which contains about 20Million line as shown as below I want to fish out some lines according to the line position of the big file, for example here line number 3,4,7 ... so the expected output will be like this currently I manage to...

## [SOLVED] blowfish algorithm: encrypting the p-array.

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: I am trying to encrypt the p-array. The first element will print correctly once returned from my encrypt...

## Randomize a file

Hi, I have a large file that looks like this: @FCC189PACXX:2:1101:1420:2139/1 AGCGAGACTCCGTCTCAAAAAGAAAAAATTTTTCAAAATATTGCAATGGGCTTGTAATTTCTGCTTAAATGTCAGGAGGTCTGAGCCATT + bbbeeeceggggghiiiiiiiiiihfihihiiihhhghiihhihifhihiihhhhhhhhiiigfggggdceeeeebdcc^``bbcbccbb...

## Password encryption - migration user accounts from SuSe to RedHat

Hello guys, I'm currently working on replacing old server and it's migration from SuSe SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 4 to the RedHat Red Hat Enterprise Linux Server release 6.4 (Santiago) Problem seems be in migration of users passwords,...

## Chess Players: Which Online Resources (and Software) Do You Use and Why?

Hi Chess Players, Which Online Resources (and Software) Do You Use and Why? As for me, I use chessgames.com and chessbase.com; but currently I'm using chessgames.com the most; I like exploring openings in the chessgames.com opening explorer. For analysis on the desktop (Mac) or iPhone I...