Sponsored Content
Top Forums Shell Programming and Scripting running commands to remote host from centralized host Post 302345016 by avronius on Tuesday 18th of August 2009 08:34:44 AM
Old 08-18-2009
Hmmm - I was under the impression that the piped awk takes place on the host that the script is running on - not the remote host - does it not?

---------- Post updated at 06:34 AM ---------- Previous update was at 06:31 AM ----------

One day this site will break me of my reliance on cat, but apparently it wasn't yesterday Smilie
 

10 More Discussions You Might Find Interesting

1. IP Networking

QNX host cannot ping SCO host, vice versa

The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies

2. Solaris

How to delete the files from local host to remote host

Hi all, i am copying .gz files from production server to development server using "scp" command.my requirement is after copying .gz files i want to delete old .gz files(two days back) in development server from production server. like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies

3. UNIX for Dummies Questions & Answers

Sending Commands to a Remote Host

I am trying to write a script that logs into an SMTP server and authenticates as a user or verifies that a user exists. I can do all this from the command line but I don't know how to write a script to do this for me, I login and then the script stops, I'm sure this is some basic principle. ... (3 Replies)
Discussion started by: safetytrick
3 Replies

4. UNIX for Advanced & Expert Users

Running command "md5" on remote host not working.

My question is very strange. I can run ls command on remote host using ssh successfully. but when i try to run /sbin/md5 command on remote host. it doesnt run and get back to me on command prompt. md5 command is exist on remote host. This is what i tried which ran successfully. Query -... (1 Reply)
Discussion started by: ynilesh
1 Replies

5. Shell Programming and Scripting

Run a shell script from one host which connext to remote host and run the commands

I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies

6. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

7. Solaris

Need to recover/move diskgroup from failed host to another host

Hi All I am having VxVm on two Solaris hosts. host1 is using disk group dgHR. right now this server went down due to hardware fault. Not I need to import this dgHR into host2 server. Please let me know the procedure for the same. (1 Reply)
Discussion started by: amity
1 Replies

8. Shell Programming and Scripting

Login to remote host and execute commands

Hi, i want to write script where it will login into 50 hosts and if login is successful it print message "login to host1 is successful" if not it should print message "Not able to login to host1". once connection to the host is succesful it should fire df command to check filesystem if df is... (3 Replies)
Discussion started by: amru8810
3 Replies

9. Shell Programming and Scripting

Pause processes in remote host and resume execution in another remote host

Hi, Given addresses of 2 remote machines, using a shell script is it possible to get the state of running processes in "src" stop all the processes in "src" exit out of "src" ssh into "dest" resume the state of executing processes captured in step 1 in "dest" Assumption: "src" is... (3 Replies)
Discussion started by: Saeya Darsan
3 Replies

10. Shell Programming and Scripting

Check/get the exit status of a remote command executed on remote host through script

Geeks, Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s). Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
INSTALL-CATALOG(8)														INSTALL-CATALOG(8)

NAME
install-catalog - Manage a SGML or XML centralized catalog SYNOPSIS
install-catalog [ option ] action ... [ [ -d] [ --delegate] ] [ [ -a centralized ordinary] [ --add centralized ordinary] [ -r centralized ordinary] [ --remove centralized ordinary] [ -h] [ --help] [ -v] [ --version] ] DESCRIPTION
This shell script allows to handle a centralized catalog referencing other "ordinary" SGML or XML Open Catalogs. An Open Catalog contains a set of directives defined by OASIS, mostly used for defining equivalences between FPIs (Formal Public Identi- fiers) and real file names (see TR9401:1997 on http://www.oasis-open.org <URL:http://www.oasis-open.org>). The Open Catalogs usually reside in /usr/share/sgml. A centralized catalog is a special Open Catalog that includes only comments and CATALOG directives pointing to other catalogs (or DELEGATE directives if supported). The centralized catalog can be the key to all other SGML resources. It usually resides in /etc/sgml. The centralized catalog can be edited manually or through the install-catalog script to add or remove references to other ordinary cata- logs. This script is mainly destined to software package post-installation scripts. An example of a typical call to install-catalog is: install-catalog --add /usr/share/sgml/docbook/dsssl-stylesheets-1.54/catalog /etc/sgml/sgml-docbook-4.0.cat This call will install in /etc/sgml/sgml-docbook-4.0.cat a reference to /usr/share/sgml/docbook/dsssl-stylesheets-1.54/catalog. OPTIONS
Here is the list of options that can influence the way install-catalog works: [ [ -d] [ --delegate] ] Use DELEGATE instead of CATALOG directives to specify a pointer ACTIONS
Here is the list of actions that can be requested to install-catalog: [ [ -a centralized ordinary] [ --add centralized ordinary] ] Declare a new SGML package. [ [ -r centralized ordinary] [ --remove centralized ordinary] ] Remove a previously installed SGML package. [ [ -h] [ --help] ] Print a short help message and exit [ [ -v] [ --version] ] Print the version identifier and exit FILES
/etc/sgml/* The SGML centralized catalogs AUTHORS
Eric Bischoff <ebisch@cybercable.tm.fr> Developper of install-catalog. SEE ALSO
jw(1) conversion from DocBook to other file formats nsgmls(1) a base component of Jade DSSSL engine http://sourceware.cygnus.com/docbook-tools/ <URL:http://sourceware.cygnus.com/docbook-tools/> the home page of the DocBook tools, a compendium of all tools necessary to process DocBook files, including the SGML-common stuff. 04 August 2000 INSTALL-CATALOG(8)
All times are GMT -4. The time now is 09:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy