10-13-2008
Hi all please suggest on this .... i need to trouble shoot on the issue urgently......
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i downloaded a text file from metalab.unc.edu called sh.txt and in this reference manual it refers to shell scripting exit status .. at the end of one of the examples that author gave an exit status of 127..
to what does a 127 exit status refer too and what is its purpose in the code.
moxxx68 (1 Reply)
Discussion started by: moxxx68
1 Replies
2. Shell Programming and Scripting
Hi all,
I'm running a program which return 1 upon success.
But when encounters problem shell return 's '1' .
How to differentiate between them the shell return value and script return value.
Ex. function fn return '1' if executed successfully and '0' if failed. But when if shell encounters... (1 Reply)
Discussion started by: yhacks
1 Replies
3. Shell Programming and Scripting
I'm preparing for exam and one of exams is to write own test command...
I wonder if in unix is a command which just returns exit code you specify..
I know I can easily write a function like this:
exStatus() {
return $1
}
-> my question is rather theoretical
thank you! (9 Replies)
Discussion started by: MartyIX
9 Replies
4. Shell Programming and Scripting
Hi I have following code
I want If whole code executes successfully then return true If found any error then print the error
I tried if ; then
But this checks only for the just upper line execution
#!/bin/bash
PATH1=/var/log/mysql
PATH2=/home/ankur/log
FILE1=mysql-bin.index... (4 Replies)
Discussion started by: kaushik02018
4 Replies
5. Shell Programming and Scripting
Hi guys I am trying to interface with an old industrial scanner through an old PC with an old network card and a copy of Linux.
It now needs to speak to a Windows XP machine, but I have no idea what the Windows equivalent of these functions would are:
echo !1 | nc 255.255.2.2 80
echo ?2 | nc... (3 Replies)
Discussion started by: TonyG
3 Replies
6. Shell Programming and Scripting
I have a shell script (#!/bin/sh) that interacts with Appworx and Banner Admin. In my script I want to check the exit status of awrun before continuing. awrun can run for 10 seconds or it can run for over a minute. So my question is, will it go through my if statement before awrun may even be... (2 Replies)
Discussion started by: smkremer
2 Replies
7. Shell Programming and Scripting
Hi ,
I have a bash script , which does the network configuration. Messages from this script are dumped on console as well as stored in a log file .
This script is invoked from a C code using system call . The script returns different exit code , to indicate different error cases. The... (1 Reply)
Discussion started by: abhirai
1 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to create a zip file with all the txt files(these are in large number) in the current directory. I am able to do this operation sucessfully.
After this i want to get the status of the tar command executed and do accordingly. When i am trying with the below code, the status... (3 Replies)
Discussion started by: paddu
3 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to use a script (a.sh) which is calling another script(b.sh).
And I want to use the exit code(set by me) of b.sh in a.sh.
I am using this in b.sh
#!/bin/sh
<-- code -->
if ; then
exit 0
else
exit 1
fiBut... (2 Replies)
Discussion started by: Raj999
2 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to connect from Server A to Server B to transfer files from A to B. I'm using NUID A1 in Server A and NUID A2 in Server B. I have done the following the steps to setup password-less login.
1. Add the public key of A1 in A to the Authorized keys of A2 in B.
2. Add the public key of... (4 Replies)
Discussion started by: sanchid312
4 Replies
LEARN ABOUT DEBIAN
kraptor
kraptor(6) Games kraptor(6)
NAME
kraptor - a classic shoot 'em up scroller game
SYNOPSIS
kraptor [options]
DESCRIPTION
Kraptor is a classic shoot 'em up scroller game, where you must fight against tons of bad dudes. The game offers high speed action, with
massive destruction and lots of fun. Kraptor features a powerful engine for 2D shooter scroller games.
After years of oppression, the slaved people of the world have raised against their masters. You, has a mercenary pilot, has been contacted
by the popular rebellion to fight against the forces of oppression.
In the morning, you jump into your cockpit and start up the engines. It's time to get airborne and start the attack. Get ready to scramble
the scum hired by the masters. Murder for freedom is the only way, you're on a mission, don't defraud us...
USAGE
You must drive your plane and fight your enemies through a series of different levels. You can move your plane with the mouse, fire your
current selected weapon with your left mouse button and use the right mouse button to change weapon.
There's access to a 'Black market' shop between levels where you can buy new weapons, upgrade ship, etc. You can always save your game at
that point, so you must not start from the beginning every time you play the game.
OPTIONS
These command line options are available:
-safe Will run the game in 'safe' mode (will try to start it no matter what)
-windowscreen Will run the game in a window (not available in DOS version)
-fullscreen Will run the game in fullscreen
-autoscreen Will try to autodetect video card and screen mode
-nosound Disables the sound
-320x200 Video mode 320x200
-320x240 Video mode 320x240
-640x480 Video mode 640x480
-800x600 Video mode 800x600
-1024x768 Video mode 1024x768
AUTHOR
The original program was written by Kronoman.
This manual page was written for the Debian GNU/Linux system by Miriam Ruiz <little_miry@yahoo.es> (but may be used by others, of course)
Miriam Ruiz 29.05.2005 kraptor(6)