10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Forum,
I'm making very good progress on my report thanks to the very helpful people on this forum. I've been able to successfully create my report for my Red Hat servers. But I do have a few ubuntu servers in the mix and I'd like to capture some data from them when an ssh connection is... (8 Replies)
Discussion started by: greavette
8 Replies
2. Shell Programming and Scripting
Hi Everyone!
I am facing an issue in running a command line utility from the CRON.
This utility displays IPC statistics on UNIX message queues: The "queue name" and the "count" of messages in the queue.
When running this utility from prompt, it will provide an output on the screen, like the... (4 Replies)
Discussion started by: vai_sh
4 Replies
3. Shell Programming and Scripting
Hi All,
I have two scripts which i want to run in a single command line(or in a single script). And if both the scripts in the main script fail then i want to pass a value to a Application specific utility which will trigger some alert.The value can be anything. Somebody please help.It is... (1 Reply)
Discussion started by: shroh
1 Replies
4. Shell Programming and Scripting
Hi
Can we run the linux command and per script in a single command
$ cd /usr/local/adm/ ;ctsv scmtest_qabuild ;cspec.pl scmtest
This is a combination of linux and clearcase command and last one is perl script with argument.
I can see the first and 2nd coomand is executing but last... (6 Replies)
Discussion started by: anuragpgtgerman
6 Replies
5. Shell Programming and Scripting
Hi,
I have a unix script, and I have problem, where I work out the variable I need. But it will not excute the variable from the script ?
See my script below for details :
#!/bin/sh
ENVGRP=`hostname |cut -c1-3 | tr '' ''`
ENVINST=${ENVGRP}`hostname -i |cut -d\. -f 4`
echo... (4 Replies)
Discussion started by: fettie
4 Replies
6. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
7. UNIX for Advanced & Expert Users
Hi.
I have a ksh script I want to run, but I'm connecting through a telnet and I don't want to FTP the scripts itself.
is there a way of running the script from command line ?
like ksh "The script itself..."
Thanks,
Ramon (4 Replies)
Discussion started by: mellowcandle
4 Replies
8. Shell Programming and Scripting
#!/bin/ksh
file="/pkgs/roots/scripts/ISQL_op.txt"
isql -H 11.11.11.111:1111 -U myUser -P myPwd -o $file << eof
go
select * from Table1
go
eof
my cron entry
00 08 03 11 * /pkgs/roots/scripts/testc.ksh
file permission of the script is correct, i have used absolute path everywhere.
... (2 Replies)
Discussion started by: vikram3.r
2 Replies
9. Shell Programming and Scripting
I have 5 hosts and each host as 3 java process .I have one machine which has ssh keys so it can login without any passwords etc to all the machines.
How can I find out say jstack or some command so it goes to each machine and run the command . For example machine 1 has 3 java process and they... (2 Replies)
Discussion started by: gubbu
2 Replies
10. Shell Programming and Scripting
Hi, is it possible to run an if statement from the command line?
I am doing this
# service postgresql status; if ] ; then awk '{print ""$2""}' /root/file.txt
>
But it throws me into a different mode ie the > then I have to do a ctrl+c. I want to do it this way because I will be... (2 Replies)
Discussion started by: borderblaster
2 Replies
ace-of-penguins(6) User Commands ace-of-penguins(6)
NAME
ace-of_penguins - Solitaire-games with penguin-look
SYNOPSIS
ace-canfield
ace-freecell
ace-golf
ace-mastermind
ace-merlin
ace-minesweeper
ace-pegged
ace-solitaire
ace-spider
ace-taipei
ace-taipedit
ace-thornq
OPTIONS
None.
DESCRIPTION
From the author's intro.html: "The Ace of Penguins is a set of Unix/X solitaire games based on the ones available for Windows(tm) but with
a number of enhancements that make my wife like my versions better :-)"
ace-canfield
Solitary card-game
ace-freecell
Solitary card-game
ace-spider
Solitary card-game
ace-solitaire
Solitary card-game
ace-thornq
Solitary card-game
ace-golf
Another solitary card-game
ace-mastermind
Guess a secret combination of colors.
ace-merlin
Classical puzzle, rather frustrating.
ace-minesweeper
Find all hidden mines in a minefield.
ace-pegged
Classical board game.
ace-taipei
Asian puzzle, remove pairs of equal stones.
ace-taipedit
Editor for your own ace-taipei levels.
KEYS
All games use the same library of functions and thus the same keys:
F1 Online help.
Esc Esc or "Q" to leave the game.
NOTES
The upstream author DJ Delorie has written an informative webpage which is installed in /usr/share/doc/ace-of-penguins/intro.html
The original binaries were renamed to include prefix ace-* to avoid name clashes.
BUGS
If you encounter any bugs in this package, please report them to the Debian Bug Tracking System at http://bugs.debian.org/.
ENVIRONMENT
None.
FILES
None.
SEE ALSO
Other games in /usr/games
AUTHORS
Programs are by DJ Delorie, some by Martin Thornquist.
This manual page was written 1999-09-09 by Thimo Neubauer <thimo@debian.org> for the Debian GNU system (but may be used by others). Updated
2007-09-03 by Jari Aalto <jari.aalto@cante.net>. Released under license GPL v2 or (at your option) any later version.
ace-of-penguins 2012-03-23 ace-of-penguins(6)