Sponsored Content
Top Forums Programming Open Source Help with writing Shell Script to automate process using multiple commands Post 302974763 by RudiC on Friday 3rd of June 2016 03:46:28 AM
Old 06-03-2016
I'm pretty sure that people participate in here "who can help to automate" although mayhap NOT with windows machines. Still I doubt they want to infer the bits and pieces from a rough and ready log of what is normally done manually.

Please take the trouble to prepare a correct specification, defining a (or multiple?) precise target(s), show the underlying basic data, structures, and OS/tools, possible restrictions, and your own ideas how to connect the two.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to call multiple java commands

Hi, I want to call multiple java commands through a .sh file. I have drafted one with my least knowledge. But its not working. Pls help. I am trying to run this from Sun Solaris (OS 5.10) server with 10g oracle database. echo \* starting script AUTORUN echo \* get the Monitor path... (4 Replies)
Discussion started by: vivekdn
4 Replies

2. UNIX for Advanced & Expert Users

Automate Script using pkgrm/pkgadd commands

This is my first post so hello to all of you! I have a script in bash-3.00 that needs to execute the following: pkgrm (to remove an existing package) pkgadd -d ( to install a new package) The problem is that both commands prompt me to answer either y,n or q in order to proceed with... (13 Replies)
Discussion started by: Insight
13 Replies

3. Shell Programming and Scripting

writing shell scripts of commands

can anyone help me in writing a shell script to visualize how simple commands work and on what logic. For Eg: ls command how it lists out all the files and directories, need to write a simple script based on the commands source code.:D (0 Replies)
Discussion started by: rahul_11d
0 Replies

4. Shell Programming and Scripting

writing a shell script of commands

Can anyone help me out in visualizing on what is the logic behind simple unix commands. For Eg: ls command lists files and directories, how it displays I need to know the source code for commands like this. (1 Reply)
Discussion started by: rahul_11d
1 Replies

5. UNIX for Dummies Questions & Answers

Writing a loop to process multiple input files by a shell script

I have multiple input files that I want to manipulate using a shell script. The files are called 250.1 through 250.1000 but I only want the script to manipulate 250.300 through 250.1000. Before I was using the following script to manipulate the text files: for i in 250.*; do || awk... (4 Replies)
Discussion started by: evelibertine
4 Replies

6. Shell Programming and Scripting

Need help in creating a shell script to automate svnstats process

Hi, I am trying to create a shell script to automate the following process of getting svn stats:- Step1:- cd to checkout location. Note that the checked code have multiple modules in respective folders Step2:- Execute this command inside each module:- svn log -v --xml >... (0 Replies)
Discussion started by: d8011
0 Replies

7. Shell Programming and Scripting

Automate multiple commands

Hi, I am trying to count the number of times a string of letters occurs in a file for multiple unique strings of letters. Right now I can do this one at a time using the following code (in this example I am searching for the string "AAA"): echo AAA >> outfile.txt grep -c "AAA" -r... (4 Replies)
Discussion started by: gecko1
4 Replies

8. UNIX for Dummies Questions & Answers

Automate sftp process using script

Hi, guys, I am trying to automate a sftp process using "expect" method (since the key authentication method is disabled in my company network, there is no helping it). In order to try, I type in the command manually: sftp @ > << EOF >cd >ls -l >EOF >Connecting to @servername password: ... (3 Replies)
Discussion started by: warmboy610
3 Replies

9. Shell Programming and Scripting

How to catch errors in a shell script ( multiple commands )?

Hi I have a shell script like that Main() { DAY=$(date +"%d-%m-%Y") TIME=$(date +"%T") Command 1 Command 2 ... Command n } I would like to catch errors from all commands in Main() and write these errors into a file , something likes this: Main if < error > then echo... (3 Replies)
Discussion started by: bobochacha29
3 Replies

10. Shell Programming and Scripting

Script to automate recovery process

Hello All! First post... I am working on a script that is used to recover a crashed drive from an rsync backup. I'm down to the place where I need to create all of the directories in /mnt where I will then mount each of the volumes and begin the restore process to each volume... I have... (3 Replies)
Discussion started by: RogerBaran
3 Replies
TETRINET-CLIENT(6)						   Games Manual 						TETRINET-CLIENT(6)

NAME
tetrinet-client - textmode client program for tetrinet SYNOPSIS
tetrinet [-fancy] [-fast] [-log file] [-noshadow] [-noslide] [-slide] [-shadow] [-windows] nickname server DESCRIPTION
tetrinet-client is a textmode client program for tetrinet, a networked version of tetris. You can play both on TetriFast server and on the original servers with it. Please notice that you need at least 50 lines to be able to play it. OPTIONS
A summary of options is included below. -fancy Use "fancy" TTY graphics. (Note that this will slow down redraws somewhat.) -fast Use the "tetrifast" mode to connect to the server. This mode eliminates the delay before a new cube appears, thus speeding the game up noticeably. This mode is incompatible with the classic mode and the server has to support it. If in doubt, ask the other play- ers. -log file Log network traffic to the given file. All lines start with an absolute time (seconds) in brackets. Lines sent from the client to the server are prefixed with ">>>", and lines from the server to the client are prefixed with "<<<". This could be used with a utility program to replay a game later on (though such a program is not currently included in the Tetrinet distribution.) -noshadow Do not make pieces cast "shadows" when they are slowly falling. (Normally the area under piece is filled by dim dots to help to determine where the piece would hit the ground if one would press the spacebar.) -noslide Do not allow pieces to "slide" after being dropped with the spacebar. (Normally, there is a short time after pressing the spacebar during which a piece can "slide" left or right before it solidifies.) -shadow Opposite of -noshadow; make the pieces cast "shadows". Can speed up gameplay considerably, but it can be considered as cheating by some people since some other tetrinet clients lack this. -slide Opposite of -noslide; allows pieces to "slide" after being dropped. If both -slide and -noslide are given, -slide takes precedence. If both -windows and -slide are given, this overrides the "no sliding" part of -windows without affecting the other changes in pro- gram behavior. -windows Behave as much like the Windows version of Tetrinet as possible. Implies -noslide and -noshadow. USAGE
When you start tetrinet-client you will find yourself in the partyline. In here you can chat with the other players. With /help you will get the list of the server supported commands. You can switch between three screens with F1 through to F3. With /start you can start a game (if you are in position one). You will have to switch over to the Fields with the F1 key, an automatic switch over on game start is planed. To pause a running game you have to enter /pause in the partyline. To restart the game you enter /unpause. With the cursor keys left and right you can move the stones, with cursor up you turn the stones clockwise, with cursor down you pull the stones to the bottom, and with space you drop them. You have to fill the lines completely, because complete lines will get removed from the display. The more lines you can eliminate with a single stone the better. If the play room supports specials you will eventually see a list of letters below your playfield that you can use with the number keys from 1 to 6 for the corresponding playfield. If you want to get rid of a special, drop it with d. You can also chat in the playfield, to open the chat box press t (for talk.) That's it, more or less. AUTHOR
This manual page was written by Gerfried Fuchs <alfie@ist.org>. SEE ALSO
tetrinet-server(6). 2004-11-23 TETRINET-CLIENT(6)
All times are GMT -4. The time now is 02:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy