06-25-2018
Hey - where did you buy your crystal ball? I really would like to know in advance when my code is going to work, and when it will fail.
Does that directory 062518 exist?
And, are you sure the error message comes from above code snippet? 062518 does not correspond to the strftime format string %d%m%y . . .
Last edited by RudiC; 06-25-2018 at 03:52 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a sheel script that invokes a perl script...Now, instead havin the perl script as a separate file I'd like put the contents in the sheel script itself...But I am not sure how ro run that perl script contents.please help me
Thanks (1 Reply)
Discussion started by: vijay_0209
1 Replies
2. UNIX for Dummies Questions & Answers
The java program is a part of speech tagger -> The Stanford NLP (Natural Language Processing) Group
The goal is to use this script as part of a webpage to tag parts of speech based on a user-inputted string.
I have no idea what to do with the files - I'm a complete *nix noob. I tried running... (4 Replies)
Discussion started by: tguillea
4 Replies
3. Shell Programming and Scripting
Is there a way to run some code in a C-shell script by different shell, like bash?
I have that situation.
I have prepared and perfectly workable bash-skript that now I have to execute under C-shell script, divide it on steps and without creating a new files (with the bash-code parts.)
For... (6 Replies)
Discussion started by: alex_5161
6 Replies
4. UNIX for Dummies Questions & Answers
Hi there can anyone help me
here is my code
echo "Type in a positive number"
read X
I=2
while
do
if
then
echo "It is not prime"
break
else
if
then
echo "It is prime"
break
else
I=$(( $I + 1))
fi
fi (4 Replies)
Discussion started by: FUTURE_EINSTEIN
4 Replies
5. Shell Programming and Scripting
hi All,
Am newbie to unix and would require your help to complete this task.
Condition:
I have a server start up script and I would like to append the code in such a way that it searches for a phrase "process completed" in taillog when server starts up and also should run another script... (9 Replies)
Discussion started by: fop4658
9 Replies
6. UNIX for Advanced & Expert Users
I am more of a newbie, but wanted to post this in this forum as I was afraid no one would look at it in unix forums as it concerns shell scripting. I have a shell script that now runs fine with the exclusion of one line:
x=`su nbadmin -c "ssh -t servery /usr/openv/netbackup/bin/bplist -C... (7 Replies)
Discussion started by: newbie2010
7 Replies
7. Shell Programming and Scripting
If I run 'who -u' interactively or from a script invoked through bash in a tty on my Ubuntu 12LTS box I get an output like this:
testuser pts/0 Dec 9 02:32 . 2163 (host.xx.yy)
running the same through cron I get:
testuser pts/0 2012-12-09 02:32 00:05 2163... (2 Replies)
Discussion started by: latimer
2 Replies
8. Shell Programming and Scripting
Hi,
I want to deploy a (perl) script, in Linux. (Red Hat 7).
Is there a way to protect the script itself from being viewed by the user, but still allow the user to run the script?
I dont want the user to be able to see the source code of the script. (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
9. Shell Programming and Scripting
Why doesn't the code below run? Am I missing something? Thank you :).
syntax() {
printf "\n\n"
printf "Enter HGVS description of variant(s): "; IFS="," read -a hgvs
&& printf "\n Nothijng entered. Leaving match function." && sleep 2 && return
for ((i=0;... (5 Replies)
Discussion started by: cmccabe
5 Replies
10. OS X (Apple)
Some hackers found a security hole in macOS High Sierra and tweeted it to the world before telling Apple about the problem. You can see the details from PC Magazine's daily news here: Apple Releases Fix for MacOS High Sierra 'Root' Bug. The original story this morning was published before a patch... (6 Replies)
Discussion started by: Don Cragun
6 Replies
LEARN ABOUT DEBIAN
rafkill
RAFKILL(6) Games Manual RAFKILL(6)
NAME
Rafkill - a vertical shoot'em-up
SYNOPSIS
rafkill [ -l ] [ -w ] [ -g<speed> ] [ -h ]
DESCRIPTION
Rafkill is a clone of Raptor: Call of the Shadows, a classic shoot'em-up game.
You have a bird's eye view of the playing field, which is an alien world, and your job is to destroy the enemies that are flying towards
you shooting bullets. The score lets you buy life, shield, better weapons or even new spaceships.
Killing enemies gives you money, or score. If you kill a group of enemies, you might get a handy coin which gives you more score. There are
other powerups, so look for them too.
The score lets you buy more weapons and hull parts. There are 5 weapon groups and a few weapons in each group, but you can only have one
weapon per group except for the accessory weapons in which you can have up to 3 weapons. Once you buy 3, you cannot buy any more. There are
3 hulls, which have each higher life and shield than the previous one and gives you access to a new set of weapons. Buying a new hull does
not throw away your weapons, but it does throw away your accessory weapons.
OPTIONS
-l run the game without displaying the background
-w run the game in windowed mode instead of full screen
-g<speed>
run the game at a different speed (default is 40)
-h, -help, --help
display help message and exit
KEYS
Left, Right, Up, Down
move the ship across the screen
Space or Enter
fire the main weapon
Alt switch between alternate weapons
Esc return to the game menu
AUTHOR
Rafkill was written by Jon Rafkind <workmin@ccs.neu.edu>.
This manual page was written by Sam Hocevar <sam@zoy.org>, for the Debian GNU/Linux system (but may be used by others).
24 April 2003 RAFKILL(6)