Create a file that has all of your hosts listed within it:
Then, on the central host:
I'm sure that there's an awk command to skip the first line, but it escapes me at the moment....
This promts for password, Is there any way to pass password to ssh,thru any file..?
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT CENTOS
frontend-spec
FRONTEND-SPEC(7)FRONTEND-SPEC(7)NAME
frontend-spec - interface between jw and its frontends
DESCRIPTION jw(1) calls frontends like frontends/docbook to get the informations specific to a given input format. The frontend knows which information
to return from the first command line parameter. It gets all necessary data via environment variables ready to use.
This document describes that command line parameter and those environment variables.
The frontend should return 0 if there weren't any problem, and return a positive value otherwise.
VARIABLES
$1
The command line parameter, specifying which information to return. It can take the following values:
centralized-catalog
The frontend must return the DTD-specific centralized catalog name. Centralized catalogs normally reside in /etc/sgml and
provide the location of all the catalog files useful for handling this input type (the catalog for the DTD, the catalog for
the stylesheets, the catalog for the entities,
style-sheet
The frontend must return the filename of the style sheet to be used for this document type and with the chosen backend.
SGML_CATALOGS_DIR
The directory where the centralized catalogs reside. It is normally /etc/sgml.
(This variable is valid only while determining the centralized catalog to use.)
SGML_BASE_DIR
The base directory of the SGML system. It is normally /usr/share/sgml.
(This variable is valid only while determining the style sheet to use.)
SGML_FILE
The name of the file to convert.
(This variable is valid only while determining the centralized catalog to use.)
SGML_TYPE
The type of the backend to use, whether it produces output files to be displayed online or to be printed out. It can take the value
html or print.
(This variable is valid only while determining the style sheet to use).
SGML_STYLESHEETS
The desired custom stylesheet type, either none or default. If none, the frontend must return the file name of the style sheet pro-
vided by the system beneath the docbook-utils. If default, the frontend must return the custom stylesheet provided by the docbook-
utils.
(This variable is valid only while determining the style sheet to use).
SGML_XML
The metalanguage of the file to convert, either sgml or xml.
(This variable is valid only while determining the centralized catalog to use).
FILES SEE ALSO backend-spec(7)AUTHORS
Jochem Huhmann <joh@revier.com>
11 February 2004 FRONTEND-SPEC(7)