11-27-2018
Dear All,
Thank you for your explanatory posts.
I am totally sure that when I cancel my static ip service, I will never ever be able to ping my router remotely.
Normally I can detect the change of ip number when I am out of my network with small scripts but it will not work in my case as my ISP is eager to earn much more money with a greedy attitude.
Kind regards
Boris
Last edited by baris35; 11-27-2018 at 09:06 PM..
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How do I get my working directory always shown in the unix editor? i.e if I am now at /Home/abc/xyz/, I want to see this absolute path displayed ( and now only display when I type pwd).
thanks for the kind help.
Regrads (3 Replies)
Discussion started by: swchee
3 Replies
2. Solaris
Is there a way to supress the banner from being shown when you log in? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
3. Shell Programming and Scripting
I am trying to obtain the file name (not including sub file name), however, I still cannot have the string output. :(
2 existed files at /tmp, AAA.new and BBB.last
Originally, the output result is needed to be shown as follows,
ex:
SYSTEM NEW LAST
===================
01 ... (8 Replies)
Discussion started by: Jones Lin
8 Replies
4. Solaris
Hi,
On solaris 10, t5120,
I don't understand what are the last 2 file systems
so last 2 file systems what are they, why are they getting shown and also confused why the swap is shown so many times and different size when I set it to 16 G at the time of installing solaris 10. ( rest... (3 Replies)
Discussion started by: upengan78
3 Replies
5. Solaris
Hello,
This is a 2 node sun cluster 3.2 on solaris 10(x86)
I am using an unique ~512M disk (c0d1) on each node and slice 6 on this disk for globaldevices. While everything looks like fine, the 'Fail' is bothering me.
@ tommy_sun1
@tommy_sun
-bash-3.00# cldevice refresh... (10 Replies)
Discussion started by: upengan78
10 Replies
6. Shell Programming and Scripting
Hi All,
I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server.
Please provide the information for the above, it would be helpful for me.
Thanks,
Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies
7. Solaris
Hi
I am using the dd command on solaris 10 and the output doesn't include the MB/s statistic that you get in Linux,
is this not available or am I missing a switch of some sort
#dd if=/dev/urandom of=/perf_test/file.txt bs=1048576 count=500
0+500 records in
0+500 records out (2 Replies)
Discussion started by: eeisken
2 Replies
8. UNIX for Dummies Questions & Answers
I'm currently running a CUPS server and it shows the printers on other computers just fine, but after a while they disappear. I found out, that restarting /etc/init.d/cups-browsed fixes the problem (for about 15min).
When the printers disappear, the cups-browsed service is still running, so I... (0 Replies)
Discussion started by: Gajeela
0 Replies
SNAKE(6) Games Manual SNAKE(6)
NAME
snake, snscore - display chase game
SYNOPSIS
/usr/games/snake [ -wn ] [ -ln ]
/usr/games/snscore
DESCRIPTION
Snake is a display-based game which must be played on a CRT terminal from among those supported by vi(1). The object of the game is to
make as much money as possible without getting eaten by the snake. The -l and -w options allow you to specify the length and width of the
field. By default the entire screen (except for the last column) is used.
You are represented on the screen by an I. The snake is 6 squares long and is represented by S's. The money is $, and an exit is #. Your
score is posted in the upper left hand corner.
You can move around using the same conventions as vi(1), the h, j, k, and l keys work, as do the arrow keys. Other possibilities include:
sefc These keys are like hjkl but form a directed pad around the d key.
HJKL These keys move you all the way in the indicated direction to the same row or column as the money. This does not let you jump away
from the snake, but rather saves you from having to type a key repeatedly. The snake still gets all his turns.
SEFC Likewise for the upper case versions on the left.
ATPB These keys move you to the four edges of the screen. Their position on the keyboard is the mnemonic, e.g. P is at the far right of
the keyboard.
x This lets you quit the game at any time.
p Points in a direction you might want to go.
w Space warp to get out of tight squeezes, at a price.
! Shell escape
^Z Suspend the snake game, on systems which support it. Otherwise an interactive shell is started up.
To earn money, move to the same square the money is on. A new $ will appear when you earn the current one. As you get richer, the snake
gets hungrier. To leave the game, move to the exit (#).
A record is kept of the personal best score of each player. Scores are only counted if you leave at the exit, getting eaten by the snake
is worth nothing.
As in pinball, matching the last digit of your score to the number which appears after the game is worth a bonus.
To see who wastes time playing snake, run /usr/games/snscore .
FILES
/usr/games/lib/snakerawscores database of personal bests
/usr/games/lib/snake.log log of games played
/usr/games/busy program to determine if system too busy
BUGS
When playing on a small screen, it's hard to tell when you hit the edge of the screen.
The scoring function takes into account the size of the screen. A perfect function to do this equitably has not been devised.
4th Berkeley Distribution May 20, 1985 SNAKE(6)