Sponsored Content
Top Forums Shell Programming and Scripting Script connect to remote server, not find files and exit only from remote server, but not from scrip Post 302996074 by rbatte1 on Tuesday 18th of April 2017 11:51:51 AM
Old 04-18-2017
I have a problem with a few bits in the script, such as:-
  • the line that ends *${Today *.*;
  • the line that is fi'
.... and that's after a very quick glance.


What was the problem? Could you share to help others who may find this thread?




Kind regards,
Robin
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Connect to a Remote Sybase Server Through Script.

Hi all, I am trying to connect to Remote Sybase database Server through shell script. I am operating on WindowsXP, connect to Unix(version SunOS: 5.8) The thing is i dont know how to connect to Sybase Server through my script file? Are there any manual pages which can guide me through the... (2 Replies)
Discussion started by: Aparna_k82
2 Replies

2. Shell Programming and Scripting

Connect to a Remote Sybase Server Through Script

Hi all, I am trying to connect to Remote Sybase database Server through shell script. I am operating on WindowsXP, connect to Unix(version SunOS: 5.8) The thing is i dont know how to connect to Sybase Server through my script file? Are there any manual pages which can guide me through the... (3 Replies)
Discussion started by: Aparna_k82
3 Replies

3. 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

4. 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

5. Shell Programming and Scripting

Need help on how to exit a script run on a server from a remote server

hi, I am using the below line to run a script from remote server(say server A) to another server(say server B). ssh username@servername ksh script name. The issue is the script logs into server B, executes the script on server B, transfers the file to server A but does not exit from... (4 Replies)
Discussion started by: yohasini
4 Replies

6. HP-UX

Connect to remote server using sftp with password define within command/script

I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it. I want sftp can read a password define in script or from file, so it can... (1 Reply)
Discussion started by: ketanraut
1 Replies

7. Solaris

Script to get files from remote server to local server through sftp without prompting for password

Hi, I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script. Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies

8. Shell Programming and Scripting

Shell script to find the GB files in /tmp directory in remote server

Hi, i need help on shell scripting. Main intention of the script is step 1: ssh to remote server Step 2: cd /tmp in remote server Step 3: in tmp i want to grep only files and directories which are in GB sizes All the servers list file is - tmpsrv.txt vi tmpsrv.txt ... (17 Replies)
Discussion started by: kumar85shiv
17 Replies

9. Shell Programming and Scripting

Sudo connect to a remote server and execute scripts in remote server

Hello Every one!! I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server. Before this I am using a sudo command to change the user. The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies

10. Shell Programming and Scripting

How to keep staying on remote server after executing a shell script with if then exit end statement?

i have a "if .. then exit end " in s shell script on remote servers. now the connection to the remote server got killed after i run this script on the remote servers. How do i run this script on remote hosts and still keep remote connections alive after executing the script. Thank you. (10 Replies)
Discussion started by: moonmonk
10 Replies
Parity(3)						User Contributed Perl Documentation						 Parity(3)

NAME
String::Parity, setEvenParity, setOddParity, setSpaceParity, setMarkParity, isEvenParity, isOddParity isSpaceParity, isMarkParity, Even- Bytes, OddBytes, SpaceBytes, MarkBytes, showParity, showMarkSpace - Parity (odd/even/mark/space) handling functions SYNOPSIS
use String::Parity; use String::Parity qw(:DEFAULT /show/); DESCRIPTION
setEvenParity LIST Copies the elements of LIST to a new list and converts the new elements to strings of bytes with even parity. In array context returns the new list. In scalar context joins the elements of the new list into a single string and returns the string. setOddParity LIST Like setEvenParity function, but converts to strings with odd parity. setSpaceParity LIST Like setEvenParity function, but converts to strings with space (High bit cleared) parity. setMarkParity LIST Like setEvenParity function, but converts to strings with mark (High bit set) parity. EvenBytes LIST Returns the number of even parity bytes in the elements of LIST. OddBytes LIST Returns the number of odd parity bytes in the elements of LIST. SpaceBytes LIST Returns the number of space parity bytes in the elements of LIST. MarkBytes LIST Returns the number of mark parity bytes in the elements of LIST. isEvenParity LIST Returns TRUE if the LIST contains no byte with odd parity, FALSE otherwise. isOddParity LIST Returns TRUE if the LIST contains no byte with even parity, FALSE otherwise. isSpaceParity LIST Returns TRUE if the LIST contains no byte with mark parity, FALSE otherwise. isMarkParity LIST Returns TRUE if the LIST contains no byte with space parity, FALSE otherwise. showParity LIST Like setEvenParity function, but converts bytes with even parity to 'e' and other bytes to 'o'. The function showParity must be imported by a specialised import list. showMarkSpace LIST Like setEvenParity function, but converts bytes with space parity to 's' and other bytes to 'm'. The function showMarkSpace must be imported by a specialised import list. NOTES
Don't use this module unless you have to communicate with some old device or protocol. Please make your application 8 bit clean and use the internationally standardised ISO-8859-1 character set. AUTHOR
Winfried Koenig <win@in.rhein-main.de> SEE ALSO
perl(1), Exporter(1) perl v5.8.0 1996-12-10 Parity(3)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy