Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to execute setDomainEnv.sh in wblogic via ssh on remote server in shell script? Post 303033043 by RudiC on Friday 29th of March 2019 04:44:34 AM
Old 03-29-2019
WHAT is "not working"?

Moderator's Comments:
Mod Comment Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received. Do not paraphrase errors, or post the text as links, images, or attachments if you can avoid it: Paste the exact message, in code tags, like [code] text [/code] or by selecting the text and using the Image button.

Thank you.

The UNIX and Linux Forums



Try removing the double quotes around the semicolon in the ssh command.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script for how to connect to a remote server by using ssh

i want to connect to a remote server through ssh. i have to also provide password within that script. after connecting to the remote server i want to do some operations like grep,cd etc can u pls help me to wite a script. Thanks (1 Reply)
Discussion started by: millan
1 Replies

2. Shell Programming and Scripting

Script to connect to a remote server and execute scripts

Hello All I need a script or set of commands which can establish a remote connection with another server and execute some scripts over there. Basically it has to establish the connection with the remote server as an user ,say 'testuser' and then execute the script 'testscript'. and return the... (5 Replies)
Discussion started by: sgbhat
5 Replies

3. Shell Programming and Scripting

Using ssh to execute a remote script in the background

Help please!! I want to use ssh to execute a remote exe and while it's running I want to query for the process ID of the exe (2 different ssh commands) 1. sshpass -p "<passwd>" ssh -f -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@<ipaddress> nohup /tmp/mmds_asyn & 2.... (0 Replies)
Discussion started by: rvompoluTMW
0 Replies

4. UNIX for Dummies Questions & Answers

ssh command to execute shell script in another server

ssh -q <hostname> /opt/tcs/satish/tst.ksh ssh -q <anotherserver> /opt/tcs/satish/tst.ksh tst.ksh has "nohup <command> & " when i execute below script , its throwing error as nohup can not be found ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log & can someone let me... (5 Replies)
Discussion started by: only4satish
5 Replies

5. Shell Programming and Scripting

bash script to execute a command remote servers using ssh

Hello, I am running into few issues, please suggest me what I am missing. I am running this script on a linux host. Main idea of this script is to, login to each host via ssh and get uid of user, service user that I trying to run this script, has already deployed ssh keys and provide sudo... (8 Replies)
Discussion started by: bobby320
8 Replies

6. Shell Programming and Scripting

i want to execute shell script on remote server with in sftp session

Hi, I want to execute shell script with in sftp session for remote server. like i have a shell script test.sh that is on local server.i want to execute that script on remote server sftp user@192.168.56.10 sftp> test.sh ---execute for remote server not for local server. sftp... (3 Replies)
Discussion started by: SAUD PASHA
3 Replies

7. Shell Programming and Scripting

Execute a local script against a remote server

I am unable to run the below script against a remote server due to syntax error (then unexpected), but i am able to run it locally. Am i executing it correctly or is there any other way to execute it. ssh username@servernname ksh -s < scriptname #!/bin/ksh function record { ((end =... (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies

8. Shell Programming and Scripting

Shell script help to execute ssh remote commands

Hi, The below command is not giving me the count , Can somebody help me in re-writing this pls . Proc_Exist=`ssh -q -o "BatchMode=yes" -o "PasswordAuthentication=no" $OAUSER@${Primary_Node} ps -ef | grep -v grep | grep "${ICM_Proc}" |wc -l ` Also the same problem with below... (13 Replies)
Discussion started by: Y.balakrishna
13 Replies

9. Shell Programming and Scripting

How to execute commands on remote server using expect script?

I need to copy python script file to around 100 servers using expect script. 1. Copy script to my user home first(/home/myhome) on each remote server 2. change permissions on copied file to 766. 3. sudo to appuser1 account on remote server. copy script file from my user home to /usr/bin/... (1 Reply)
Discussion started by: kchinnam
1 Replies
GPIV_COMBING(1) 					      General Commands Manual						   GPIV_COMBING(1)

NAME
gpiv_combing - Combines two single-exposed images into one image file for cross-correlation. SYNOPSIS
gpiv_combing [-a | --suf_a S] [-b | --suf_b S] [-d | --dt S] [-h | --help] [-p | --print] [-s | --skip S] [-t | --type] [-u | --suf_num N] [-v | --version] [-V | --verbose] [-w | --warning] file_basename DESCRIPTION
gpiv_combing combines two images from a common image format that use lossless compressing schemes into a Portable Network Graphics image with extension .png. The resulting 'double frame' image is used for cross-correlation with gpiv_rr (or gpiv). Additional information is added to the image header, like the parameter for enabling cross correlation, separation time between the recordings of the two images and the name of this program. This program uses the IMG configuration parameters. As the input images are single-frame and will probably not contain the required X_corr parameter in its header, the IMG.X_corr setting will have to be set to 0 for the correct loading. The default settings may be overruled by the command line options, as explained below. Options -h | --help On-line help. -a | --suf_a S The filename of the first image is generated from the file_basename, the suffix S (default: _a) and from the image extension type. -b | --suf_b S The filename of the second image is generated from the file_basename, the suffix S (default: _b) and from the image extension type. -d | --dt S The time between subsequent images in milliseconds. The value will be written to the image header. If -s | --skip is used, the sepa- ration time will be adapted to the correct value. -p | --print Prints parameters to stdout. -s | --skip S Skip S numbers; the first image with number N (defined by -u | --suf_num N) will be combined with the second image N+S+1 (default: S = 0) -t | --type Type or format of the input image (default png). Supported formats are: raw binary (r), hdf5 (gpi), gif, tif, bmp and pgm. The for- mat of the output image will always be png. -u | --suf_num N If images are numbered instead of having suffixes _a and _b. N represents the first of the two numbered frames which will be com- bined with frame N + 1. The combined image will be named to file_basenameN.png. So, only odd or even numbered images will result to be loaded in gpiv_rr (or gpiv) for cross-correlation. -v | --version Print version information on standard output, then exit successfully. -V | --verbose Program behaves verbose during operation, like printing filenames, separation time. -w | --warning Checks and warns if one of the two input images already contain an image pair, i.e. the header parameter X-corr is set TRUE. The program will exit if this is the case. Besides this warning, the program will always check if the images are of equal sizes. If an input image does not contain the X-corr parameter in its header, the parameter will be read from the parameter resources. Not using this option allows one to keep the settings in the parameter resources in any state. file_basename The filename without the image extension (like .png, .tif etc) and suffix or number. Examples Suppose two single-exposed images will have to be combined for cross-correlation with names image_a.gif and image_b.gif: so the file_base- name will be "image", _a and _b are default suffixes and the image type has to be defined. The program is used following: gpiv_combing -t gif image As PNG is default image format, -t key is not needed. Two images with names turtle_slow.png and turtle_fast.png are combined with: gpiv_combing -a _slow -b _fast turtle For two numbered images img03.png and img04.png only the starting number will have to defined: gpiv_combing -u 3 img0 Two numbered images img03.png and img09.png will have to be combined by skipping 5 images in-between. If -d | --dt S is used, the correct separation time between the combined frames is calculated from S: gpiv_combing -u 3 -s 5 img0 SEE ALSO gpivtools NOTES
The program uses netpbm. AUTHOR
Gerber Van der Graaf 31 October 2006 GPIV_COMBING(1)
All times are GMT -4. The time now is 07:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy