I'm training a newbie on unix. He's in another site and I can't share my unix books with him - is there any documentation on basic unix commands he can download? (1 Reply)
I'm trying to make use of some common generic functions already present in the scripts loaded in the environment.
A variable VAR1 is declared and used in the generic functions.
Its value is also set in the generic function.
Now I need to use that generic function for PURGING of some old files... (2 Replies)
Hi.
I'm New user for this Forum.Presently i'm working with Cygwin
I want to know the basic commands that will be used for Cygwin.
Can anyone guide me on this regards
Thanks & Regards
Sanjay (0 Replies)
I would be thankful if anyone could show me commands to do the following tasks in vi:1) How can I undo or redo my last action in vi editor.
2) How can I copy only a word or a portion of line (not the whole line) in vi, like
we can select text and press ctrl+c in notepad to copy any text.
3)... (4 Replies)
Hello out there!!!
I have a Red Hat Entreprise Linux 4 server and I am encountering this error
# grep
Segmentation Fault
I know it is not the right use of grep command, but I did that just for testing purpose,then I did
# which grep
/bin/grep
# ls -l /bin/grep
-rwxr-xr-x 1 root... (4 Replies)
In case you are interested, here is a partial list of linux-like commands on Android OS:
/sbin
adbd
devmgr
recovery
dfta
init
dfta.sh
fat.format
redbend_ua
/system/bin (partial list)
sh
date
netstat
mount
umount (0 Replies)
Hi I'm pretty new to scripting and I've been googling around looking for an answer but have yet to come up with a proper solution. I work with multiple android devices at a time and I'm looking to simplify my life with a script. Basically I'm looking for a script that takes the device ID's and then... (2 Replies)
I am thinking of developing an app' for Android mobile devices...
Two questions here:-
1) Does anyone _develop_ for the Android _mobile_ platform?
If so do you use OSX 10.7.5 or greater as your _development_platform_?
2) I know ********* is gonna say that the Android terminal/shell is... (13 Replies)
Discussion started by: wisecracker
13 Replies
LEARN ABOUT BSD
bj
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)