10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I'm running Stockfish chess engine ( Home - Stockfish - Open Source Chess Engine ) CLI on Linux in interactive mode which is working fine.
root@ubuntu1950x:~# ./stockfish
Stockfish 080218 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
setoption name Debug Log File... (2 Replies)
Discussion started by: prvnrk
2 Replies
2. Shell Programming and Scripting
i have to run the following script through a pipe:
script.sh:
#!/bin/bash
echo "Hello World"
echo -e "The \033
here's how its currently being run:
bash -c "$(cat script.sh)"
This is an interactive script. the problem is, when i run it this way, if you go to another terminal and... (4 Replies)
Discussion started by: SkySmart
4 Replies
3. Shell Programming and Scripting
so for the purposes of this thread, interactive scripts are shell scripts that prompts for a response from a user and then waits for the user to enter a response before proceeding.
now, from my understanding of this, the one common string i can expect to find in all interactive scripts is some... (1 Reply)
Discussion started by: SkySmart
1 Replies
4. Shell Programming and Scripting
i have a script that contains:
script.sh
#!/bin/bash
echo -e "\t\t\t0. Exit"
echo -e "\t\t\t1. Help"
echo -e "\t\t\t2. Notes"
echo -e "\t\t\t3. Classes"
echo "${newline}"
echo -n -e "\t Please enter option number : "
read Type
case $Type in
1)
clear
... (1 Reply)
Discussion started by: SkySmart
1 Replies
5. UNIX for Advanced & Expert Users
I have written the below scripts .
ldap_pwd_prompt.ksh
#!/usr/bin/ksh
passwd -r ldap
interactive_pwd_change.exp
#!/usr/local/bin/expect
set timeout 10
set curpass
set newpass
spawn ./ldap_pwd_prompt.ksh
expect "Enter existing login password:"
send "$curpass\r"
expect "New... (6 Replies)
Discussion started by: dr46014
6 Replies
6. Shell Programming and Scripting
Hello friends,
I am a ORACLE user, we have some internal database file, lets say "demo.config" and an internal tool to patch this file....lets call that tool as "dbfixer".
We have 100's-1000's of such files "demo.config" which need to get patched by the tool. So we need to write a script ...... (1 Reply)
Discussion started by: Newbie456267uni
1 Replies
7. Shell Programming and Scripting
I have a script that will install software on all remote host. At the end of the script it starts the install.sh part and goes into a interactive mode asking Yes or No questions and prompting to add a username and password. My question is how can I script this so that these questions are... (7 Replies)
Discussion started by: soupbone38
7 Replies
8. Shell Programming and Scripting
Hi everybody, can someone please suggest me how to implement the running of SQL table scripts(.sql) at a specific time automatically in UNIX ?Thanks (2 Replies)
Discussion started by: konquistador
2 Replies
9. UNIX for Dummies Questions & Answers
Hi everybody, can someone please suggest me how to implement the running of SQL table scripts(.sql) at a specific time automatically in UNIX ?Thanks (0 Replies)
Discussion started by: konquistador
0 Replies
10. HP-UX
Hi everybody, can someone please suggest me how to implement the running of SQL table scripts(.sql) at a specific time automatically in UNIX ?Thanks (0 Replies)
Discussion started by: konquistador
0 Replies