Here is (part of) one of the scripts passed from a project to us. Gladly we found out readily. Names, places and details of the script have been changed to protect the guilty.....:
Sir,
I using the following commands in a file (part of a bigger script):
#!/bin/bash
cd /opt/oracle/bin
ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out
If I run this from the command prompt the result is:
2007-05-16
if I run it as a cron job then... (5 Replies)
Hi everybody!
We have to upgrade serviceguard 11.14 to 11.16, so I get PHSS_36898 patch from HP.
Is it necessary to uninstall serviceguard 11.14 before install this patch? (I think so, but i am not sure).
Do you know if is "dangerous" this kind of upgrade? Any suggestions about?
Thx in... (1 Reply)
Hi ,
I have a piece of code ...wherein I need to assign the following ...
1) A command line argument to a variable
e.g origCount=ARGV
2) A unix command to a variable
e.g result=`wc -l testFile.txt`
in my awk shell script
When I do this :
print "origCount" origCount --> I get the... (0 Replies)
AIX:Command to get netaddress/subnet address command in IPv4/IP6
Can anybody help us with a command to retrieve netaddress/subnet address command in IPv4/IP6 on aix machine.
net/subnet address is in the format 172.16.212.0(signifies all 255 machines in an IPv4 network) (2 Replies)
I had a umount busy issue, that the usual fuser -mk did not solve, I did a umount -l and was able to unmount the device, I then got in trouble by the storage team staff:
Here was a snippet of their response:
Using "umount -l" is a potentially dangerous act.
The command combination for a lazy... (8 Replies)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Hello,
I have a Application which needs to run shell scripts in a elevated state (root) for system interrogation. So I execute each script using bash -C. This has worked really well.
I now want to add another layer of security, I cant inspect each of the scripts before they get deployed to the... (4 Replies)
HI Guys,
I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that
1) I need to enter these commands
$ echo $DISPLAY
$ setenv $DISPLAY output_of_echo_$display_command
How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies
LEARN ABOUT DEBIAN
holotz-castle-editor
Holotz's Castle Editor(6) Holotz's Castle Editor(6)NAME
holotz-castle-editor - editor for holotz-castle game
SYNOPSIS
holotz-castle-editor [-f] [-w] [--fps nn] [-mWWxHHxBPP] [-r RR] [-c CC] [-t theme] <story> <nr>
DESCRIPTION
A great mystery is hidden beyond the walls of Holotz's Castle. Will you be able to help Ybelle and Ludar escape alive from the castle?
Use the editor to design new levels for this game!
USAGE
You can use the following keys while working with the editor:
- Page Down: Next level in the story (or a new one if it doesn't exist).
- Page Up: Previous level in the story.
- 'c': Increase the number of columns from the right.
- CTRL-'c': Increase the number of columns from the left
- SHIFT-'c': Decrease the number of columns from the right.
- SHIFT-CTRL-'c': Decrease the number of columns from the left.
- 'r': Increase the number of rows from below.
- CTRL-'r': Increase the number of rows from above.
- SHIFT-'r': Decrease the number of rows from below.
- SHIFT-CTRL-r: Decrease the number of rows from Above.
- '+': Increase level time.
- '-': Decrease level time.
- '1': Select 'floor' tool.
- '2': Select 'continuous floor' tool.
- '3': Select 'stairs' tool.
- '4': Select 'bar' tool.
- '5': Select 'breakable floor' tool.
- '6': Select 'key' tool.
- '7': Select 'rope' tool
- '8': Select 'starting character's position' tool.
- '9': Select 'exit position' tool.
- '0': Select 'enemy' tool.
- 's': Save.
- CTRL-'q': Quit editor.
- Arrow keys: Move around in the map.
- 'g': Increase gravity strength.
- SHIFT-'g': Decrease gravity strength.
- 'x': Increase main character's speed in axis.
- SHIFT-'x': Decrease main character's speed in X axis.
- 'y': Increase main character's speed in Y axis.
- SHIFT-'y': Decrease main character's speed in Y axis.
- 'j': Increase the number of cells that the player can jump vertically.
- SHIFT-'j': Decrease the number of cells that the player can jump vertically.
Other features:
- When adding an item to the map, if you press CTRL key it is adjusted to a cell.
- To adjust a rope's lenght, you select it and, while still pressing mouse button, press ALT key and drag the mouse vertically until get-
ting the desired length. - To adjust a rope's oscillation amplitude, you must select it and, keeping mouse button pressed, press SHIFT
key. Real time amplitude is not shown, as it is determined taking into account the distance in vertical to the rope when releasing mouse
button.
OPTIONS
These command line options are available:
-f Full Screen.
-w Windowed.
--fps nn Run the game at nn frames per second (fps).
-mWWxHHxBPP Run in video mode set by WW pixels of width, HH pixels of height and BPP bits per pixel (eg. -m640x480x16).
-r RR Crete map with RR rows of height.
-c CC Crete map with CC columns of width.
-t theme Use theme named 'theme'.
<story> <nr> Load level nr of the story called 'story'.
AUTHOR
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 28.01.2005 Holotz's Castle Editor(6)