Hi All!
I need to automate the su command using expect script.Suppose I login as a user A , I need to change the user to oracle using the su oracle command and execute the command "sqlplus -ver".
I tried writing a expect script for the same , but can't figure out the reason it is not working.
Can someone please help. Below is the expect script that I wrote:
I'm a newbie on OS X and Mac, I bought my first Mac (a Mini) in october last year, so bare with me. :)
I usually run X11 to have aixterm displayed on my Mac, what I would like to do is to set a specific xhost + every time I start X11, for example xhost +10.0.0.2 every time I start X11.
Also,... (1 Reply)
Hi All,
I need to run the same command on many servers. I am using ssh for the same. Following is the script that I am using to fire the same command on multiple machines.
#!/bin/bash
# Linux/UNIX box with ssh key based login
#SERVERS="iqmevrick,iqmango"
# SSH User name
USR="root"
#... (1 Reply)
Hi,
I want to do automation on UI using shellscript.
eg:
1) Drop down menu contains assign , investigate, closed.
now there is one id want assign it using assign tab then need to investigate it and lastly close. Sometimes the id can't assign to perticular user.
there are so many... (11 Replies)
Hi, I wanted to automate the scp command where i do not want to enter the password each time. So thought of using expect command. Script is executing without any issues but files are not copied to remote server. Can any one help me?
Below is my shell script..
#!/bin/ksh
... (6 Replies)
Im trying to write an automation script using python. I expect this script to log in to a remote server, execute commands and get its output.
import pexpect
child=pexpect.spawn('ssh myuser@192.168.151.80')
child.expect('Password:')
child.sendline('mypassword')
get_output =... (4 Replies)
A little background information:
We are a company that uses Sharp MFP devices for everyone to print on.
We have a lot of MAC BYOD devices.
All printing is done through a product called PaperCut which is ran on a Windows 2008 R2 server.
Sharp charges our company for each print job done in... (1 Reply)
Hi All,
I am just looking for CVS automation for SQL scripts. Normally Devs will check in new sql scripts or they will update the existing sql scripts with new query. We will take the scripts from CVS and run in DB. I am thinking to automate that process like whenever a new script is checked in... (1 Reply)
Hi Gurus,
I am new to ansible automation, kindly suggest me whether i am going in right path.
I Want to automate deployment of apache,mysql-server on multiple Linux hosts.
ansible version i am using ansible 1.5.4
OS: Ubuntu 14.04.5 LTS
below is the Script created for the same
---
-... (3 Replies)
Discussion started by: venky.b5
3 Replies
9. Post Here to Contact Site Administrators and Moderators
I am using netteza server and i have a list of table names. I need to fetch all the data from these tables and need to create seperate zip files and store in a folder in the server. How can we automate this process. (1 Reply)