10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I've got a list of a single column numbers like
3000.66
3002.55
3062.23
3242.12
etc...
I would like to delete all numbers higher than for example 3060.00 and lower
than 2990.00
How can I do that?
Thanks in advance (2 Replies)
Discussion started by: Board27
2 Replies
2. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
3. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
4. Shell Programming and Scripting
Hi
My directory structure is as below.
dir1, dir2, dir3
I have the list of files to be deleted in the below path as below.
/staging/retain_for_2years/Cleanup/log $ ls -lrt
total 0
drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies
5. Solaris
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
6. Shell Programming and Scripting
Hello all,
I'm trying to copy all files within a specified directory to another location based on a find filter of mtime -1 (Solaris OS). The issue that I'm having is that in the destination directory, I want to retain the source directory structure while copying over only the files that have... (4 Replies)
Discussion started by: hunter55
4 Replies
7. Shell Programming and Scripting
Hi,
I have a very big directory structure that consists of many sub-directories inside.There are around 50 ".gz" files under this dir structure.
I want to copy all the gz files alone to a seperate location.
Plz help me. (2 Replies)
Discussion started by: villain41
2 Replies
8. Shell Programming and Scripting
Would someone please give me a script that will remove all but the newest jpg image from my server.
i am uploading a new image every 10 seconds form a live web cam
Also i do not know who to make a shell script work
i am new to all this so i need all the help you could give
Thank You very much (1 Reply)
Discussion started by: Destined
1 Replies
9. UNIX for Advanced & Expert Users
Hi Guys,
I am currently working on a script to find all the files that have not been accessed for the past 2 years. This, i guess has been discussed n number of times in this forum. Now, my requirement is to find all the files in the remote windows server. I have it mounted in unix.
I... (1 Reply)
Discussion started by: bond_bhai
1 Replies
10. Shell Programming and Scripting
Hi Guys,
I am currently working on a script to find all the files that have not been accessed for the past 2 years. This, i guess has been discussed n number of times in this forum. Now, my requirement is to find all the files in the remote windows server. I have it mounted in unix.
I was... (1 Reply)
Discussion started by: bond_bhai
1 Replies
rpc(n) Tnm Tcl Extension rpc(n)
__________________________________________________________________________________________________________________________________________________
NAME
rpc - A simple RPC protocol for Tcl applications.
_________________________________________________________________
DESCRIPTION
RPC COMMAND
rpc server port
Set up an RPC server listening an port port. This command returns a rpc handle that be used to register Tcl procs that will be
exported by a trivial RPC protocol on top of TCP. This RPC mechanism allows us to write cooperating scripts without worrying much
about the communication protocol.
rpc client host port
Connect to the RPC server running on host with port port. The returned client handle can be used to invoke an exported proc on the
server host.
rpc delete handle
Delete a server or a client RPC handle. All connections associated with the handle will be closed.
rpc register rpchandle proc
Export proc as an RPC callable proc using the server handle rpchandle. Only registered procs can be called by RPC clients.
rpc unregister rpchandle proc
Remove proc from the list of exported procs on server handle rpchandle.
rpc info [rpchandle]
Calling rpc info without any arguments returns a list of all rpc handles that have been created using the rpc server and rpc client
command. Info about a specific rpc file handle rpchandle is returned by using the optional argument. The result is a list contain-
ing the tcp file handle used for the communication and the list of registered commands for a rpc handle and a list of all files that
represent connections to an rpc server. This list is empty if rpchandle belongs to a rpc client.
rpc# [-async] proc arg1 arg2 ...
To invoke a remote procedure proc, use the same syntax as used with a local invocation preceeded by a client rpchandle. The result
of the remote procedure call will be returned or an error if the underlying communication channel signals errors. The -async options
can be used to invoke proc without waiting for it to complete. The async option will never return a result.
SEE ALSO
scotty(1), Tcl(n)
AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm rpc(n)